Overview of GraphRAG-RS
mainGraphRAG-RS is a modular and portable implementation of GraphRAG written in Rust. It automates the creation of a knowledge graph from documents through a pipeline of chunking, embeddings, entity and relationship extraction, and community detection. Once the graph is built, it allows for answering questions over the graph with citations.
Key features include:
- Runtime Configuration: Choose between pattern-only (no LLM, < 10 ms/chunk), LLM + KV-cache enrichment (e.g., via Ollama), or a hybrid approach using the
Configobject. - Dual Environments: The core library (
graphrag-core) is designed to run both natively and in the browser via WebAssembly (WASM). The WASM build utilizes theVoyvector store. - Modular Architecture: The project is split into specialized crates including
graphrag-core,graphrag-cli,graphrag-server, andgraphrag-wasm.