Home/Guides/Your RAG answers are wrong. Is it the m…
Guide · 5 min read

Your RAG answers are wrong. Is it the model — or your chunking?

Most "RAG doesn't work" reports are chunking problems, not model problems. Here's why chunking is the single biggest quality lever.

Quick answer

Before blaming the model, check your chunk boundaries. Bad chunking splits an answer across two chunks (so neither is retrievable alone) or buries it in noise. In a single-hop RAG pipeline, chunking quality drives retrieval quality, which drives answer quality — it is the lever to pull first.

When a RAG chatbot gives a confidently wrong answer, the instinct is to swap in a smarter model. That instinct is usually wrong. In a baseline single-hop pipeline, the model is rarely the bottleneck — the ingestion stage is.

The three-stage pipeline, and where it breaks

A traditional RAG pipeline has three stages: ingest and chunk your documents, embed and store them, then retrieve and generate. The failures cluster at the edges:

Why chunking is the lever

Retrieval can only return what your chunks contain. If the answer to a question spans the bottom of chunk 7 and the top of chunk 8, neither chunk scores well on its own and the answer is effectively unretrievable — no matter how good your embeddings or your model are. Cut chunks too large and the real answer is diluted by surrounding noise, dropping its similarity score below the cutoff.

This is why most "RAG doesn't work" reports are chunking problems wearing a model costume. The query embeds fine, the vector store is healthy, the model is capable — but the chunk that should have matched was split, or buried, at ingestion time.

What to do first

Before touching the model, audit the chunks the retriever actually returns for a failing query. Are the boundaries semantic (sections, complete thoughts) or arbitrary (every N characters)? Does any single chunk contain a complete, self-sufficient answer? Fixing chunk boundaries fixes a class of "wrong answer" bugs that no model upgrade will touch.

Frequently asked questions

How do I tell if chunking is my problem?
Pull the top chunks the retriever returns for a failing query and read them. If the correct answer is split across two chunks, or buried inside a large noisy chunk, that's a chunking failure — the model never got a clean answer to ground on.
Isn't a bigger model the easier fix?
No. If retrieval never surfaces a chunk that contains the answer, a smarter model just hallucinates more convincingly. Chunking determines what is retrievable at all, so it has to be right first.
How is this different from the QRAG / vector-db skill?
Both build a single-hop RAG pipeline. This one is chunking- and ingestion-first; rag-pipeline-vector-db focuses on the Query-Retrieve-Augment-Generate flow and the single-LLM-call grounding prompt.

Related skill

RAG

RAG Pipeline Vector Store

Designs a baseline single-hop RAG pipeline that grounds LLM answers in private or domain-specific documents via vector…

Turn this guide into a skill your agent can run

Stop re-explaining the same workflow. Loreto packages it as a Claude Code skill from any source.