agentchat.contrib.graph_rag
agentchat.contrib.graph_rag.neo4j_graph_rag_capability
Neo4jGraphCapability
The Neo4j graph capability integrates Neo4j Property graph into a graph rag agent. Ref: https://neo4j.com/labs/genai-ecosystem/llamaindex/#_property_graph_constructing_modules/
For usage, please refer to example notebook/agentchat_graph_rag_neo4j.ipynb
__init__
initialize GraphRAG capability with a graph query engine
add_to_agent
Add Neo4j GraphRAG capability to a UserProxyAgent. The restriction to a UserProxyAgent to make sure the returned message only contains information retrieved from the graph DB instead of any LLMs.