Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

GraphRAG

Topic: Retrieval and RAGAlso called graph RAG

Definition

Retrieval-augmented generation that uses a knowledge graph of entities and relationships to connect related facts across many documents.

In more detail

Plain RAG retrieves chunks similar to the question, which works for local facts but struggles with questions like 'what are the main themes across these reports?'. Microsoft Research's GraphRAG, published in 2024, uses a model to extract entities and relationships into a graph, groups them into communities and summarises each, then answers broad questions from those summaries.

The term now covers any RAG system that uses a graph. Indexing is far more expensive than embedding chunks, so it suits corpora where relationships matter and that do not change constantly.

  • Agentic RAG

    Retrieval-augmented generation in which an agent decides when and how to search, often running several searches and refining queries.

  • Knowledge graph

    A structured representation of entities and the relationships between them, sometimes used alongside vector search to improve retrieval.

  • Retrieval-augmented generation (RAG)

    Retrieving relevant documents and adding them to the prompt before the model generates an answer from them.