Pattern
Hybrid vector + graph retrieval
activeNeeds verification
Find entry points with vector or keyword search, then expand along graph relationships to collect connected context before generation.
Problem
Vector similarity misses facts that are connected but not textually similar.
Solution
Vector top-k → map chunks to entities → k-hop expansion or path queries → rerank → LLM.
Trade-offs
Requires an entity graph aligned with chunks; expansion can flood the context window without pruning.
Profile
| Category | graphrag |
|---|
Relationships
- Part of
- Implemented by
- Amazon Bedrock Knowledge Bases (GraphRAG)(Cloud service)
- LlamaIndex(Library / framework)
- Neo4j GraphRAG for Python(Library / framework)
- GraphRAG on AWS(Reference architecture)
- GraphRAG on Google Cloud(Reference architecture)
- Prerequisites
- GraphRAG(Concept)