Skip to content
Graph Intelligence Hub
Menu

Pattern

GraphRAG with community summaries (global/local search)

activeNeeds verification

Extract an entity graph from documents, cluster it hierarchically, pre-summarise communities, then answer global questions over summaries and local ones over entity neighbourhoods.

Problem

Vector RAG cannot answer corpus-wide "what are the main themes" questions.

Solution

LLM entity/relation extraction → Leiden communities → community reports → map-reduce over reports (global) or entity-centred retrieval (local).

Trade-offs

Indexing is LLM-intensive and costly; summaries can go stale as documents change.

Profile

Categorygraphrag

Relationships

Prerequisites
Implemented by
Related