zilliztech/vector-graph-rag
Graph RAG with pure vector search, achieving SOTA performance in multi-hop reasoning scenarios.
What it solves
Traditional graph RAG systems require a dedicated graph database like Neo4j to store and traverse relationships, adding operational complexity. Vector Graph RAG removes that requirement by encoding entities and relations as vectors in a vector database (Milvus). This lets you perform graph-style reasoning and multi-hop evidence retrieval with pure vector search, making it easier to build question-answering systems that connect information across multiple sources.
How it works
When you add documents, the system uses an LLM to extract knowledge graph triplets (subject, predicate, object). These entities and relations are embedded as vectors and stored in Milvus. At query time, the question's entities are extracted, vector search finds related entities and relations, and a subgraph expansion gathers neighboring relations. Then an LLM reranks the candidate passages and generates an answer. You can choose between two reranking methods: single-pass generative reranking or two-stage Jev scoring, which balances quality and latency.
Who it's for
Developers and teams building question-answering or retrieval-augmented generation systems over dense, factual content—such as legal, finance, medical, or literature domains. It also suits anyone who wants multi-hop reasoning without the overhead of a separate graph database. The system works out of the box with Milvus Lite for prototyping, and scales to Zilliz Cloud or self-hosted Milvus for production.
Highlights
- No graph database required—uses pure vector search with Milvus
- Configurable reranking: single-pass generative or two-stage Jev
- Zero configuration with Milvus Lite; works with a single line of code
- Supports multi-hop reasoning via subgraph expansion
- State-of-the-art performance on multi-hop QA benchmarks
- Includes a React frontend and REST API for graph visualization and interaction
- Handles document ingestion from URLs, PDFs, DOCX, and incremental updates
Related
- Project
- Project
- Project
- Project