langchain.graphs.kuzu_graph.KuzuGraph¶
class langchain.graphs.kuzu_graph.KuzuGraph(db: Any, database: str = 'kuzu')[source]¶
Kùzu wrapper for graph operations.
Attributes
get_schema
Returns the schema of the Kùzu database
Methods
__init__(db[, database])
query(query[, params])
Query Kùzu database
refresh_schema()
Refreshes the Kùzu graph schema information
__init__(db: Any, database: str = 'kuzu') → None[source]¶
query(query: str, params: dict = {}) → List[Dict[str, Any]][source]¶
Query Kùzu database
refresh_schema() → None[source]¶
Refreshes the Kùzu graph schema information
Examples using KuzuGraph¶
KuzuQAChain