Why RAG pilots stall, and what gets them to production
A retrieval-augmented generation (RAG) demo takes a few days. A RAG system people trust enough to rely on takes more. When a pilot stalls, the model is rarely the problem. These five things usually are.
1. Nobody agreed what it should answer
Without a fixed list of real questions, every review becomes a debate about a new example. Start by collecting 50 to 100 questions people actually ask, with the right answer and where it lives. That list becomes your test set.
2. The source data is messy
Old versions of the same document, scanned PDFs, tables split across pages and duplicate pages all confuse retrieval. Cleaning, de-duplicating and splitting documents sensibly does more for answer quality than switching models.
3. Retrieval fails before generation does
Most wrong answers start with the wrong passage being found. Measure retrieval on its own: for each test question, did the system find the passage that holds the answer? Hybrid search, combining keywords with meaning, often fixes what pure vector search misses, such as product codes and names.
4. No sources, no trust
If people can't see where an answer came from, they check it by hand, and the time saving disappears. Show the source passage with every answer, and make sure people only get answers from documents they are allowed to see.
5. Nothing is measured after launch
Questions change once real users arrive. Add a simple thumbs up or down, track questions the system couldn't answer, and review them every week. That list tells you which documents to add next.
The short version: agree the questions, clean the data, measure retrieval, show sources, and keep measuring.