Overview
The GraphRAG Toolkit provides tools and patterns for building retrieval-augmented generation (RAG) applications that use knowledge graphs. With FalkorDB as the graph store, you can:- Build and query knowledge graphs efficiently
- Use semantic-guided search for intelligent retrieval
- Connect to FalkorDB Cloud or local instances
- Integrate with LLM-powered applications
Installation
The FalkorDB graph store is contained in a separate contributor package. Install it using:Quick Start
1. Register FalkorDB as a Graph Store
Before creating a FalkorDB graph store, register theFalkorDBGraphStoreFactory with the GraphStoreFactory:
2. Create a FalkorDB Graph Store
You can use theGraphStoreFactory.for_graph_store() static factory method to create an instance of a FalkorDB graph store.
Using FalkorDB Cloud
To create a FalkorDB Cloud graph store, supply a connection string that begins withfalkordb://, followed by your FalkorDB endpoint:
Using Local FalkorDB
To create a local FalkorDB graph store, supply a connection string with onlyfalkordb://:
3. Start FalkorDB (Local Setup)
If you’re using a local instance, start FalkorDB with Docker:Features
Semantic-Guided Search
The FalkorDB graph store supports semantic-guided search, enabling intelligent retrieval based on meaning and context rather than just keyword matching. Note: The FalkorDB graph store currently does not support traversal-based search.Resources
- 🔗 AWS GraphRAG Toolkit GitHub Repository
- 📖 GraphRAG Toolkit Documentation
- 📓 FalkorDB Graph Store Documentation
- ☁️ FalkorDB Cloud
Use Cases
- Knowledge Graph Construction: Build structured knowledge graphs from unstructured data
- Semantic Search: Implement context-aware search using graph-based retrieval
- Question Answering: Combine LLMs with graph data for accurate responses
- Document Understanding: Extract and organize information in a knowledge graph
Related Tools
- GraphRAG-SDK: FalkorDB’s native GraphRAG solution
- LangChain: Build AI agents with graph memory
- LlamaIndex: LLM application framework with FalkorDB support
Frequently Asked Questions
What is the AWS GraphRAG Toolkit?
What is the AWS GraphRAG Toolkit?
The AWS GraphRAG Toolkit is an open-source framework from AWS Labs for building knowledge graph applications with LLMs. FalkorDB is supported as a graph store backend through a separate contributor package, enabling high-performance graph database capabilities in GraphRAG applications.
How do I install FalkorDB support for the GraphRAG Toolkit?
How do I install FalkorDB support for the GraphRAG Toolkit?
Install the FalkorDB graph store contributor package using:
pip install https://github.com/awslabs/graphrag-toolkit/archive/refs/tags/v3.13.3.zip#subdirectory=lexical-graph-contrib/falkordbCan I use FalkorDB Cloud with the GraphRAG Toolkit?
Can I use FalkorDB Cloud with the GraphRAG Toolkit?
Yes. Use a connection string starting with
falkordb:// followed by your FalkorDB Cloud endpoint. You can pass username, password, and ssl=True parameters to GraphStoreFactory.for_graph_store() for secure authentication.Does the toolkit support traversal-based search?
Does the toolkit support traversal-based search?
No, the FalkorDB graph store currently supports semantic-guided search only, enabling intelligent retrieval based on meaning and context. Traversal-based search is not yet supported.
How does this differ from the FalkorDB GraphRAG-SDK?
How does this differ from the FalkorDB GraphRAG-SDK?
The AWS GraphRAG Toolkit is a broader AWS framework where FalkorDB is one of several possible graph stores. The FalkorDB GraphRAG-SDK is FalkorDB’s native solution with tighter integration, ontology extraction, and conversational sessions built specifically for FalkorDB.