CourseRAG · Module 10: RAG Architectures and Patterns · part 49 of 82
Part 49 · Module 10: RAG Architectures and Patterns

Topic 2: Chunk-Relationship Patterns

8 min read·21 Sept 2026

The shared idea: search one thing, answer with another. A small unit is easy to find; a larger unit is easy to understand. These patterns change what you index and what you return.

PatternIndexReturnIndex costBest for
Parent-documentSentences or small chunksThe parent section or documentMediumProcedures, rules with exceptions
Sentence-windowSentencesThe sentence plus neighboursMediumDense factual prose
HierarchicalSummaries and detailsDetails from the chosen documentsHigh (summaries)Broad questions over many documents
RAPTORLeaves and cluster summariesWhichever level matchedHigh (clustering + summaries)"Overall" and thematic questions
Contextual retrievalChunks with a generated situating sentenceThe chunk or its documentHigh (one LLM call per chunk)Look-alike chunks, pronouns

The rest of this course is yours to keep

This course is bought on its own, once, and stays readable afterwards, including the parts added to it later.