RAG & Retrieval·Question 65 of 100Quick-fire

How do you choose a chunking strategy?

Quick-fire answer from the Awesome Generative AI Guide (MIT)

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Chunking trades recall against precision: chunks too large dilute relevance and waste context, too small lose the surrounding meaning needed to answer. Start with structure-aware chunking (by section, paragraph, or semantic boundary) rather than a blind fixed character count, and add a small overlap so ideas that straddle a boundary are not lost. Match chunk size to your content and your embedding model's sweet spot, and keep metadata (source, title, section) attached for filtering and citations. Then validate: measure whether the answer-bearing chunk is actually retrieved on your eval set, and adjust.

Full worked answer

Chunking trades recall against precision: chunks too large dilute relevance and waste context, too small lose the surrounding meaning needed to answer. Start with structure-aware chunking (by section, paragraph, or semantic boundary) rather than a blind fixed character count, and add a small overlap so ideas that straddle a boundary are not lost. Match chunk size to your content and your embedding model's sweet spot, and keep metadata (source, title, section) attached for filtering and citations. Then validate: measure whether the answer-bearing chunk is actually retrieved on your eval set, and adjust.

Learn more: Chroma: Evaluating chunking strategies

What a good answer covers

  • Chunking trades recall against precision
  • Start with structure-aware chunking (by section, paragraph, or semantic boundary) rather than a blind…
  • Match chunk size to your content and your embedding model's sweet spot, and keep metadata (source,…
  • Then validate: measure whether the answer-bearing chunk is actually retrieved on your eval set, and adjust

Key terms: Learn more

Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep