

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Chunking
incomplete
2: Chunk Overlap
incomplete
3: Semantic Chunking
incomplete
4: Chunked Semantic Embeddings
incomplete
5: Chunked Semantic Search
incomplete
6: Chunked Edge Cases
incomplete
7: ColBERT
incomplete
8: Late Chunking
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Word-based chunking with overlap helps preserve context, but it still splits text at arbitrary word boundaries. For example:
Notice how "Ted explores themes" gets separated from "of friendship and growing up"? The chunks don't follow the author's intended meaning.
Semantic chunking respects natural language structure like sentences and paragraphs. Each chunk contains complete thoughts as the author organized them. Instead of splitting at random words, we split at natural breaks like sentences or paragraphs.
You can still use overlap with semantic chunking. This preserves both meaning and context continuity.
Implement semantic chunking that splits text on sentence boundaries to preserve meaning.
Semantically chunking 85 characters
1. First sentence here. Second sentence here.
2. Second sentence here. Third sentence here.
3. Third sentence here. Fourth sentence here.
Run and submit the CLI tests.