All articles
Engineering
8 min read
RAG is a retrieval problem first
Why better chunking, metadata, and evals beat swapping models when answers go wrong.

When a retrieval system gives a wrong answer, the first instinct is to try a bigger model. In our experience the problem is almost always upstream.
Chunk by meaning
Splitting documents every five hundred tokens breaks tables, lists, and headings apart. We chunk by section and keep the heading path with every chunk.
Metadata does the heavy lifting
Client, product, date, and document type let the retriever filter before it ranks. That alone fixed most of the wrong answers in our last three projects.
Evals before launch
We write fifty real questions with known answers before we tune anything. If a change does not move that score, it does not ship.



