Cut the baguette — find the garlic slice
A 50-page policy is too long for AI. We cut it into slices (chunks). Drag the sliders — every number on this page updates instantly.
How it works
- Slice the long text into chunks (drag the sliders below).
- Overlap keeps an answer that sits at a cut from being lost.
- Smaller slices = precise but fragmented; bigger = complete but diluted.
Slice the document
Drag the sliders below. The baguette shows each slice’s character range and the ↩shared overlap at every cut.
Source text — 50-page excerpt (tap to edit)
You can edit this — try pasting a clause and see how slicing changes.
Your slices — tap any
Black = best for your question — at the Search step this is what the AI receives. Gray = others. Score = cosine similarity.
Highlighted text = shared with the neighbouring slice — it is read twice.
What Search will retrieve
Nothing is sent to the AI yet — this is a preview. At the Search step, the highest-scoring slice (like the one below) is what gets sent.
We compute cosine(slice, question) for every slice — highest wins. Move Chunk size and watch the winner change; move Overlap to see a cut sentence survive in the next slice.
For builders
Real pipeline: 500 chars + 50 overlap, 768-D embeddings. Overlap prevents boundary loss; step = size − overlap.
Next: Embeddings — fingerprints
Slices become Meaning Fingerprints next — see them as a map in Embeddings [03/08] →