Neo4jNativeGraphCapability

Neo4jNativeGraphCapability(query_engine: Neo4jNativeGraphQueryEngine)

The Neo4j native graph capability integrates Neo4j native query engine into a graph rag agent.
For usage, please refer to example notebook/agentchat_graph_rag_neo4j_native.ipynb

Initialize GraphRAG capability with a neo4j native graph query engine

Parameters:
NameDescription
query_engineType: Neo4jNativeGraphQueryEngine

Instance Methods

add_to_agent

add_to_agent(self, agent: ConversableAgent) -> None

Add native Neo4j GraphRAG capability to a ConversableAgent.
llm_config of the agent must be None/False (default) to make sure the returned message only contains information retrieved from the graph DB instead of any LLMs.

Parameters:
NameDescription
agentType: ConversableAgent