GraphRAG uses an LLM to extract entities and relationships from the corpus into a knowledge graph, groups the graph into communities, and pre-summarizes each community; queries use graph traversal for local, entity-centric questions and community summaries for global ones.
It shines on multi-hop and relationship-heavy questions ("how is entity A connected to event B?") and global questions such as "what are the recurring themes across all 500 papers?", which no single chunk can answer.
Costs: expensive indexing (many LLM calls), schema and entity-resolution errors, and more maintenance when documents change; for simple lookup questions, plain vector or hybrid search is cheaper and often just as good.
Loading…