Lesson 2.1
Chunking strategies
Chunk size decides what a match can even mean. Too small and passages lose context; too large and the relevant sentence gets drowned.
Taught byPriya RamanLLMs · RAG · Prompt engineering · Evaluation
Overview
Chunk size decides what a match can even mean. Too small and passages lose context; too large and the relevant sentence gets drowned.
What this lesson covers
- Split on structure rather than a fixed character count
- Use overlap to avoid cutting an idea in half
- Keep each chunk understandable on its own
This lesson sits in Ingestion and Indexing, part of Retrieval-Augmented Generation from Scratch. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Split on structure rather than a fixed character count
- Use overlap to avoid cutting an idea in half
- Keep each chunk understandable on its own
