# GraphRAG

> Microsoft's approach to RAG that uses knowledge graphs to enhance retrieval. GraphRAG builds structured representations of documents enabling better context understanding and multi-hop reasoning for complex queries.

- **URL:** https://microsoft.github.io/graphrag/
- **Category:** Concepts & Definitions
- **Tags:** Graph, Rag, Knowledge Graph, microsoft
- **Updated:** 2026-03-20 13:13
- **Canonical page:** https://vectordb.ever.works/items/graphrag-microsoft

## Details

## Overview

GraphRAG is Microsoft's knowledge graph-enhanced approach to Retrieval Augmented Generation, addressing limitations of traditional vector-only RAG through structured knowledge representation.

## How It Works

1. **Document Processing**: Extract entities and relationships
2. **Graph Construction**: Build knowledge graph from documents
3. **Community Detection**: Identify topical clusters
4. **Hierarchical Summarization**: Create multi-level summaries
5. **Graph-Enhanced Retrieval**: Query using graph structure

## Advantages Over Traditional RAG

**Better Context**:
- Understand document structure
- Capture relationships
- Multi-hop reasoning

**Complex Queries**:
- Answer questions requiring synthesis
- Handle multi-document reasoning
- Support exploratory queries

**Improved Coverage**:
- Community summaries for broad queries
- Fine-grained retrieval for specific questions

## Use Cases

- Complex document analysis
- Enterprise knowledge bases
- Research literature review
- Multi-document summarization
- Investigative queries

## Components

- Entity extraction (NER)
- Relationship extraction
- Graph database (Neo4j compatible)
- Vector embeddings for semantic search
- LLM for synthesis

## Availability

Open-source: microsoft/graphrag on GitHub

---

_This Markdown mirror is generated by Ever Works for AI agents. The canonical HTML page is at https://vectordb.ever.works/items/graphrag-microsoft._
