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.

ASCII art cover for RAG is a retrieval problem first

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.

Arjun Patel

Head of Engineering

Ready when you are

Want us to scope yours?

Book a 30 minute call. We will map one workflow, estimate the hours it gives back, and tell you honestly if AI is the right fit.

Ready when you are

Want us to scope yours?

Book a 30 minute call. We will map one workflow, estimate the hours it gives back, and tell you honestly if AI is the right fit.

Ready when you are

Want us to scope yours?

Book a 30 minute call. We will map one workflow, estimate the hours it gives back, and tell you honestly if AI is the right fit.

Create a free website with Framer, the website builder loved by startups, designers and agencies.