Chunking strategies
You can't embed a 60-page handbook as one vector and hope to find the paragraph about parental leave. You cut it into chunks, and where you cut decides what search can find. Cut mid-sentence and the answer is split in two. Cut too big and the paragraph you need is drowned out by everything around it.
In this lesson you'll learn to
- Explain why documents are split into chunks and how chunk size trades precision against context.
- Compare fixed-size, recursive, structure-aware and semantic chunking, and say when each fits.
- Use overlap and chunk headers so each chunk makes sense on its own.
- Choose a starting chunk size and tune it with a retrieval eval rather than by feel.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.