AI Engineering · interactive
GraphRAG and knowledge graphs
Vector search finds notes that sound like the question. Some answers are spread across notes linked only by names: checkout calls payments, Ledger owns payments, Priya is on call for Ledger. Extract those links into a graph and you can walk them. Ask three kinds of question and compare.
User
asks
Your app
2-hop walk
Vector index
8 notes
Graph
14 nodes · 13 facts
Summaries
2 communities
LLM
answers
Checkout calls payments, Ledger owns payments, Priya is on call for Ledger: three notes, linked only by names. ✗ Graph walk: “Checkout is owned by Team Storefront, and Marco is on call for them: page Marco.”
Question
Retrieval
✗ Wrong or incomplete
Step 1 of 5 · read left to right
In production
Tools and technologies
Graph retrieval pairs an LLM that extracts entities with a graph store you can walk.
Not tied to one language — use these names when you search docs or design a system.
- Microsoft GraphRAGSoftware
Entity extraction, Leiden communities, and local and global search.
GitHub ↗ - From Local to GlobalStandard
Edge et al., 2024: the GraphRAG paper on community summaries.
Official site ↗ - Neo4jSoftware
Graph database with Cypher queries and vector indexes.
Official site ↗ - LightRAGSoftware
A lighter graph RAG with cheaper indexing and incremental updates.
GitHub ↗ - LlamaIndex property graphsSoftware
Build a knowledge graph from documents and retrieve by walking it.
Official site ↗