RAG · 2026-09-09

Your RAG bot answers vaguely.

You split docs into fixed 4000-character chunks, cutting sentences and tables mid-way.

  1. AMake the chunks even bigger so nothing gets cut
  2. BChunk on semantic boundaries (sections, paragraphs) with a little overlap
  3. CSwitch to a bigger embedding model
  4. DKeep the fixed 4000-character chunks but retrieve three times as many per query, so the pieces of a cut table all land in context

Answer: B

Chunk on semantic boundaries (sections, paragraphs) with a little overlap

Why

Fixed-size cuts split ideas across chunks, so no single chunk holds a complete thought. Chunking on natural boundaries keeps each unit coherent - the real fix, not a bigger model or more chunks.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path