FalkorDB/GraphRAG-SDK

Build fast and accurate GenAI apps with GraphRAG SDK at scale 🌟

What it solves

GraphRAG SDK addresses the common failure points in standard Retrieval-Augmented Generation (RAG) systems, specifically LLM hallucinations caused by poor retrieval. While standard vector-based RAG often fails to capture multi-hop relationships or provide verifiable evidence, this framework uses a knowledge graph to store structured, typed facts that allow for more accurate retrieval and traceable, cited answers.

How it works

It functions as a modular framework built on top of FalkorDB. During ingestion, it extracts entities and relationships from documents to build a knowledge graph. When a user asks a question, the system traverses the graph to find connected evidence, rather than relying solely on vector similarity. It supports provenance tracking via MENTIONED_IN edges, allowing applications to verify the source of generated claims or abstain from answering if the graph lacks sufficient evidence.

Who it’s for

This SDK is designed for developers and engineers building production-grade RAG applications who need high factual reliability, multi-tenant support, and the ability to perform complex, multi-hop reasoning over their data.

Highlights

  • Benchmark-leading accuracy: Outperforms standard vector RAG and several other graph-based retrieval methods in multi-document and medical benchmarks.
  • Traceable provenance: Every answer can be linked back to specific source chunks, enabling validation and reducing hallucinations.
  • Incremental updates: Supports efficient document updates and deletions without requiring a full rebuild of the knowledge graph.
  • Flexible schema: Allows users to define custom ontologies (entity and relation types) to constrain and structure extracted information.
  • Production-ready features: Includes support for multi-tenancy, PDF ingestion, and configurable retrieval strategies.

Related

  • Project
  • Project
  • Project
  • Project
  • Project