LESSON 22.04 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Chunking strategies
Watch one manual cut five ways, and see which chunk answers a question.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 22.04 · CHUNKING BAYANSWER 82 CHARACTERS · 2 SENTENCES
01
Stage 1 of 6 · Question
A RAG system answers from chunks of this manual. The answer is the two underlined sentences.
Explain it simply
You see a short coffee machine manual and a question about it. Before a model can answer, the manual is cut into small pieces called chunks. Search turns the question into six numbers, one per topic, and picks the closest chunk. That chunk helps only if it holds both underlined sentences.
The manual, 400 characters of Markdown, with the two answer sentences underlined. The question has the embedding brew 0.3, clean 0.2, scale 1.1, warranty 0.1 and time 1.0.
text, chunks, questioncuts, settings, thresholdcuts through an answer sentenceanswer, scores, best chunkparent section
Toy: a 400-character Markdown manual, one question, a 6-concept word embedding
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The question's embedding adds the vectors of its words.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.