Skip to content

Global Community Summary Retriever

Alternative Names

  • Microsoft GraphRAG
  • Global Retriever

Required Graph Shape

Lexical Graph with Extracted Entities and Community Summaries

Description

Given the user question and a given Community level, the Community Summaries are retrieved and given to the LLM.

Usage

This pattern is useful for questions that have a global character. Examples would be summarizing the content of the whole database or looking for topic structures across the whole data. The effort of setting up the required Graph Pattern is quite high since there are a lot of steps to be taken: entity & relationship extraction, Community detection and Community summarizations. It needs to be considered which of these tasks shall be executed by LLMs and which tasks can be handled differently to keep the pre-processing cost acceptable.

Further reading

Existing Implementations

Example Implementations