Skip to main content

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 Initialize GraphRAG capability with a graph query engine Parameters:

Instance Methods

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.
Parameters: