Description
Vector Graph RAG is an open-source library for retrieval-augmented generation that answers multi-hop questions without a graph database. It stores entities and relations as vectors in Milvus and retrieves the evidence for a question in a single search pass instead of an iterative loop. Milvus Lite is the default store, so it runs from a single file with no separate database server. Reranking can be single-pass generative or two-stage, scoring relations and then passages, which the authors call Jev scoring. Subgraph expansion lets the system follow several hops of relations to reach an answer. The library is aimed at knowledge-heavy fields with dense facts, such as legal, finance, medical and literature material. Documents can be added through an LLM extraction step, or you can supply knowledge graph triplets you already have. When a source file, message or page changes, an incremental update function refreshes it without a full rebuild. Optional extras add document loaders for PDF, DOCX and web pages, more embedding providers and OpenTelemetry tracing. The quick start expects an OPENAI_API_KEY environment variable.…
Highlights
- Graph RAG on pure vector search, with no graph database
- Single-pass or two-stage reranking for multi-hop questions
- Milvus Lite by default, runs from a single file
- Incremental updates when a source changes
- Reports leading results on MuSiQue and 2Wiki
Ratings & Reviews
No ratings yet
Be the first to rate Vector Graph Rag.
People also visit
Vector Graph Rag FAQ
What is Vector Graph RAG?
A library for retrieval-augmented generation. It keeps knowledge graph entities and relations in a vector database and answers multi-hop questions without running a graph database.
Do I need a graph database?
No. The project uses pure vector search with Milvus, so Neo4j or another graph database is not needed.
What does it need to run?
The quick start expects an OPENAI_API_KEY environment variable. Milvus Lite is the default store and works from a single file.
Can I add documents later?
Yes. Use upsert_documents_by_source() when a source file, message or page is created or modified.
Which subjects is it designed for?
Knowledge-heavy domains with dense facts, such as legal, finance, medical and literature material.
What are the best Vector Graph Rag alternatives?
Popular alternatives to Vector Graph Rag include BlitzGraph and CartaStudio. See all Vector Graph Rag alternatives











