Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Eric-Shang committed Dec 12, 2024
1 parent 88ba367 commit 008ade7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions notebook/agentchat_graph_rag_neo4j.ipynb
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
" AG2 provides GraphRAG integration using agent capabilities. This is an example to integrate Neo4j property graph and LlamaIndex graph query engine.\n",
"\n",
"\n",
"## info Requirements\n",
"### info Requirements\n",
"llama-index dependencies, which is required to use Neo4j prpoerty graph\n",
"\n",
"`pip install llama-index==0.12.5 llama-index-graph-stores-neo4j==0.4.2 llama-index-core==0.12.5`\n",
@@ -93,9 +93,7 @@
"\n",
"In this example, the Neo4j endpoint is set to host=\"bolt://172.17.0.3\" and port=7687, please adjust accordingly. For how to spin up a Neo4j with Docker, you can refer to [this](https://docs.llamaindex.ai/en/stable/examples/property_graph/property_graph_neo4j/#:~:text=stores%2Dneo4j-,Docker%20Setup,%C2%B6,-To%20launch%20Neo4j)\n",
"\n",
"Below, we have some sample data from Paul Grahma's [essay](https://raw.githubusercontent.com/run-llama/llama_index/main/docs/docs/examples/data/paul_graham/paul_graham_essay.txt).\n",
"\n",
"We then initialise the database with that text document, creating the graph in Neo4j."
"We initialise the database with a Word document, creating the Property graph in Neo4j."
]
},
{
@@ -106,7 +104,7 @@
"\n",
"In this example, the graph schema is auto-generated. This allows you to load data without specifying the specific types of entities and relationships that will make up the database. However, it will only use some default simple relationships including \"WORKED_ON\", \"MENTIONS\", \"LOCATED_IN\" \n",
"\n",
"LLAMINDEX supports a lot of extensions including docx, text, pdf, csv, etc. Find more details in Neo4jGraphQueryEngine. You may need to install dependencies for each extension. In this example, we need `pip install docx2txt`\n",
"LlamaIndex supports a lot of extensions including docx, text, pdf, csv, etc. Find more details in Neo4jGraphQueryEngine. You may need to install dependencies for each extension. In this example, we need `pip install docx2txt`\n",
"\n",
"We start by creating a Neo4j property graph (knowledge graph) with a sample employee handbook of a finctional company called BUZZ"
]
@@ -183,7 +181,7 @@
"metadata": {},
"source": [
"### Add capability to a ConversableAgent and query them\n",
"Currently query engine doesn't have a conversation history itself"
"Please be aware that currently query engine doesn't have a conversation history itself (TODO)"
]
},
{
@@ -357,6 +355,7 @@
"metadata": {},
"source": [
"The Property graph screenshot is shown below:\n",
"\n",
"![Screenshot 2024-12-12 at 3.00.23 PM.png](<attachment:Screenshot 2024-12-12 at 3.00.23 PM.png>)"
]
},

0 comments on commit 008ade7

Please sign in to comment.