Graph RAG (Knowledge Graph Retrieval Augmented Generation)
Graph RAG (Knowledge Graph Retrieval Augmented Generation) is a technique for richly understanding text datasets by combining text extraction, network analysis, and LLM prompting and summarization into a single end-to-end system. Microsoft Research’s approach creates a knowledge graph based on an input corpus, where this graph, along with community summaries and graph machine learning outputs, are used to augment prompts at query time. GraphRAG uses a large language model (LLM) to automate the extraction of a rich knowledge graph from any collection of text documents and features the ability to report on the semantic structure of the data prior to any user queries. This methodology uses knowledge graph memory structures to enhance LLM outputs, enabling sophisticated reasoning over complex, interconnected information that traditional RAG systems struggle to process effectively.