Chunking
Split documents into retrievable units with metadata so that each chunk carries enough context to answer questions on its own.
3 objectives 6 steps about 105 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Parse PDF, HTML and Markdown into clean text while preserving structure such as headings, tables and code blocks.
- Apply fixed-size, recursive and structure-aware chunking with overlap, and attach a stable ID and source metadata to every chunk.
- Evaluate two chunking configurations by their effect on retrieval recall for the same query set.
Lesson plan
6 steps, about 105 min · 5 of 5 lessons available so far
- Why Chunk Boundaries Matter Concept · 15 min
- Parsing Documents, Scans and Tables into Clean Text Worked example · 20 min
- Lab: Three Chunkers, One Corpus Lab · 25 min
- Stable IDs and Source Metadata Worked example · 15 min
- Measuring Chunking by Retrieval Recall Lab · 20 min
- Check: Choose a Chunking Strategy Knowledge check · 6 questions
Practise it
Ingest a licensed documentation set (for example an open-source project's Markdown docs) with two chunking configurations, give every chunk a deterministic ID and source path, and compare recall@5 on 15 labeled questions.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own RAG PipelineIntermediate · 8–16 h
References
Hard prerequisites
None.
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.