All jobs / AI engineer / RAG — Retrieval-Augmented Generation

AI engineer interview question · 1–3 years

What is chunk overlap for, and what does too much of it cost?

The strongest answer

It keeps an idea that straddles a boundary whole in at least one chunk. Too much inflates the index and fills the top results with near-duplicates; splitting on headings and paragraphs first reduces the need

Why it works

Right — overlap is insurance against bad boundaries, and it has a premium: storage, embedding cost and duplicate hits that waste the context budget.

What a good answer covers

Answers that fall short

Who gets asked this

More RAG — Retrieval-Augmented Generation questions