Skip to content

Glossary: RAG Beyond the Basics

Small-to-big (parent-child, parent document)

Also written: small2big, small-to-big, parent-child, parent document retrieval

Search small child chunks but put each match's larger parent section in the prompt. That gives precise matching plus surrounding detail, though a huge parent can use up the budget.

Where the book teaches it

Related terms

Heading pathBudget