AI engineering glossary · RAG vector search

What is contextual chunk enrichment?

Contextual chunk enrichment: Adding context to each chunk before embedding, such as the document title, section heading or a short generated summary of where the chunk sits. It helps chunks that lose meaning when isolated, like a paragraph that says only 'the fee is 2%'.

Level: advancedTopic: RAG vector search

Contextual chunk enrichment: an example

The chunk 'The fee is 2%' is prefixed with 'HDFC credit card agreement, Foreign transactions:' before embedding.

Related terms

More RAG vector search terms

Where you learn it

Contextual chunk enrichment is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.