Skip to main content

FalkorGraphQueryEngine

This is a wrapper for FalkorDB KnowledgeGraph.
Initialize a FalkorDB knowledge graph.
Please also refer to https://github.com/FalkorDB/GraphRAG-SDK/blob/main/graphrag_sdk/kg.py
TODO: Fix LLM API cost calculation for FalkorDB usages.
Parameters:

Instance Methods

add_records

Parameters:

connect_db

Connect to an existing knowledge graph.

delete

Delete graph and its data from database.

init_db

Build the knowledge graph with input documents. Parameters:

query

Query the knowledge graph with a question and optional message history.
Parameters: Returns: