JT / SAGE IDEAS Work with me

Glossary · RAG & Retrieval

Chunking strategy

How you slice documents into pieces small enough to retrieve and feed to a model.

Chunking strategy is how you cut a document into pieces before storing them for retrieval. Each chunk becomes a unit your system can search for and hand to the model. The hard part is size. Too big and you bury the answer in noise. Too small and you slice it in half, so no single piece makes sense on its own.

Why it matters

Retrieval can only return chunks you already created, so bad chunking quietly caps how good your answers can ever get. Split a policy down the middle and the model gets the setup without the exception, or the number without the condition attached to it. You see this as answers that are technically sourced but still wrong, and no amount of prompt tuning fixes it, because the right text was never in one place.

How it works

You pick a size, often a few hundred tokens, plus an overlap so a sentence cut at the edge still shows up whole in the next chunk. Smarter versions split on real boundaries like paragraphs, headings, or code functions instead of a blind character count. Measure it with context recall (did the needed text get retrieved at all) and context precision (was it near the top), then adjust size and boundaries until both climb.

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions