Skip to content

Commit 75b5c2d

Browse files
genai-graphrag-python - post review (#434)
* fix cypher statement * escape asciidoc heading * typo
1 parent 56eb654 commit 75b5c2d

File tree

3 files changed

+4
-4
lines changed
  • asciidoc/courses
    • genai-graphrag-python/modules
      • 2-knowledge-graph-pipeline/lessons/5-structured-data
      • 4-customisation/lessons/2-splitting-text
    • genai-integration-langchain/modules/1-langchain/lessons/4-neo4j-graph

3 files changed

+4
-4
lines changed

asciidoc/courses/genai-graphrag-python/modules/2-knowledge-graph-pipeline/lessons/5-structured-data/lesson.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ The knowledge graph allows you to summarize the content of each lesson by specif
107107
----
108108
MATCH (lesson:Lesson)<-[:PDF_OF]-(:Document)<-[:FROM_DOCUMENT]-(c:Chunk)
109109
RETURN lesson.name,
110-
[ (c)-[:FROM_CHUNK]->(tech:Technology) | tech.name ] AS technologies,
111-
[ (c)-[:FROM_CHUNK]->(concept:Concept) | concept.name ] AS concepts
110+
[ (c)<-[:FROM_CHUNK]-(tech:Technology) | tech.name ] AS technologies,
111+
[ (c)<-[:FROM_CHUNK]-(concept:Concept) | concept.name ] AS concepts
112112
----
113113

114114
Spend some time exploring the knowledge graph and experiment with adding additional data.

asciidoc/courses/genai-graphrag-python/modules/4-customisation/lessons/2-splitting-text/lesson.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ include::{repository-raw}/{branch}/genai-graphrag-python/examples/text_splitter_
3838
include::{repository-raw}/{branch}/genai-graphrag-python/examples/text_splitter_section.py[tag=splitter]
3939
----
4040

41-
The `SectionSplitter` class splits the text based on a section heading (`== `), then creates `TextChunk` objects for each section, and finally returns a `TextChunks` object containing all the chunks.
41+
The `SectionSplitter` class splits the text based on a section heading (``== ``), then creates `TextChunk` objects for each section, and finally returns a `TextChunks` object containing all the chunks.
4242

4343
You can run the text splitter directly with test data to verify that it is working:
4444

asciidoc/courses/genai-integration-langchain/modules/1-langchain/lessons/4-neo4j-graph/lesson.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You can view the database schema using the Cypher query:
6464
CALL db.schema.visualization()
6565
----
6666

67-
Open the `genai-integration-langchain/scheme_agent.py` file.
67+
Open the `genai-integration-langchain/schema_agent.py` file.
6868

6969
.schema_agent.py
7070
[source,python]

0 commit comments

Comments
 (0)