neo4j_graph_rag_capability
autogen.agentchat.contrib.graph_rag.neo4j_graph_rag_capability.Neo4jGraphCapability
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:Name | Description |
---|---|
query_engine | Type: autogen.agentchat.contrib.graph_rag.neo4j_graph_query_engine.Neo4jGraphQueryEngine |
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:Name | Description |
---|---|
agent | Type: autogen.agentchat.user_proxy_agent.UserProxyAgent |