GraphRAG Patterns Catalog
GraphRAG Patterns Catalog
In this GraphRAG Patterns catalog you can find an ever growing set of patterns for knowledge graph models, GraphRAG retrievers and Data Preparation tasks.
Each RAG pattern is tailored to answer specific types of questions, requiring unique graph patterns and pre-processing steps. Finding the perfect GraphRAG pattern for your application isn’t straightforward — it demands experimentation with different retrieval patterns and a proper evaluation of the results.
GraphRAG Patterns
- Basic Retriever
- Cypher Templates
- Dynamic Cypher Generation
- Global Community Summary Retriever
- Graph-Enhanced Vector Search
- Hypothetical Question Retriever
- Local Retriever
- Metadata Filtering
- Parent-Child Retriever
- Pattern Matching
- Text2Cypher
Knowledge Graph Models
- Domain Graph
- Lexical Graph with Extracted Entities and Community Summaries
- Lexical Graph with Extracted Entities
- Lexical Graph with Hierarchical Structure
- Lexical Graph with Hypothetical Questions
- Parent-Child Lexical Graph
- Lexical Graph with Sibling Structure
- Lexical Graph
- Memory Graph
- Text Sequence
Data Preparation
Further reading
- GraphRAG Patterns Field Guide
- Writing Software Patterns
- Patterns of Software Architecture 5 - Pattern Languages
Selecting Retrievers
It is very likely that one single pattern will not serve every purpose well, which is why an agentic approach that adapts to various queries will often be necessary. The patterns presented here, all target Once Retrieval strategies where the context for an answer to a user question is provided, querying the database only once.
More complex questions might require an Iterative or a Multi-Stage Retrieval paradigm combining the use of different patterns (see Graph Retrieval-Augmented Generation: A Survey for more details on Retrieval Paradigms).