Skip to main content
Open on GitHub

Kùzu

Kùzu is an embeddable, scalable, extremely fast graph database. It is permissively licensed with an MIT license, and you can see its source code here.

Key characteristics of Kùzu:

  • Performance and scalability: Implements modern, state-of-the-art join algorithms for graphs.
  • Usability: Very easy to set up and get started with, as there are no servers (embedded architecture).
  • Interoperability: Can conveniently scan and copy data from external columnar formats, CSV, JSON and relational databases.
  • Structured property graph model: Implements the property graph model, with added structure.
  • Cypher support: Allows convenient querying of the graph in Cypher, a declarative query language.

Get started with Kùzu by visiting their documentation.

Installation and Setup

Install the Python SDK as follows:

pip install -U langchain-kuzu

Usage

Graphs

See a usage example.

from langchain_kuzu.graphs.kuzu_graph import KuzuGraph

Chains

See a usage example.

from langchain_kuzu.chains.graph_qa.kuzu import KuzuQAChain

Was this page helpful?