Glossary: RAG Beyond the Basics
Contextual chunk headers (contextual retrieval)
Also written: contextual retrieval, contextual chunk headers, contextual headers
A model writes one sentence that places each chunk within its whole document, and that sentence is added to the chunk before indexing. It helps most when chunks lose their context, as in long or unstructured documents.