Neo4jNativeGraphQueryEngine
Provides functionality to initialize a knowledge graph, create a vector index, and query the graph using Neo4j and LLM.
Initialize a Neo4j graph query engine.
Parameters:
Instance Methods
add_records
Parameters:
Returns:
init_db
Currently this method only supports single document input (only reads the first doc).
This method supports both text and PDF documents. It performs the following steps:
1. Clears the existing database.
2. Extracts graph nodes and relationships from the input data to build a knowledge graph.
3. Creates a vector index for efficient retrieval.
Parameters:
query
Parameters:
Returns: