RAG explained for business owners: AI that answers from your documents
Ask a general AI chatbot about your company’s refund policy and it will either say it doesn’t know or, worse, make something up that sounds plausible. Retrieval-augmented generation (RAG) is the technique behind AI assistants that answer from your own documents instead, and show you where the answer came from.
The problem RAG solves
Large language models are trained on a huge amount of public text. They don’t know your contracts, product manuals, price lists or internal policies, and they can’t keep up with documents that change every week. You could try to retrain a model on your data, but that’s slow, expensive, and still doesn’t tell you where an answer came from.
RAG takes a different approach. Leave the model as it is, and at question time hand it the few passages from your documents that are relevant, with instructions to answer only from those.
How it works, step by step
- Prepare the documents. Your files (PDFs, Word documents, help articles, emails) are split into short passages and stored in a search index built for meaning, not just keywords.
- Retrieve. When someone asks a question, the system finds the passages most likely to contain the answer.
- Generate. The question and those passages go to the language model, with instructions such as “answer only from these sources; if the answer isn’t there, say so.”
- Cite. The answer comes back with references to the exact documents and pages used, so people can check it.
When a document changes, you update the index. Nothing needs retraining.
What good answers depend on
Most of the quality comes from the unglamorous parts:
- Clean source documents. Scanned images without text, outdated versions sitting next to current ones, and contradictory policies all produce confused answers.
- Sensible chunking. Split a contract in the middle of a clause and the retrieved passage loses its meaning.
- Good retrieval. If the right passage isn’t found, the model can’t use it. Retrieval is usually where we spend the most tuning time.
- Clear instructions. Tell the model to cite, to admit when it doesn’t know, and how to handle conflicting sources.
- Access control. People should only get answers from documents they’re allowed to see.
Where it goes wrong
RAG reduces made-up answers a lot, but it doesn’t eliminate them. Common failure modes:
- The answer is spread across several documents and only some are retrieved.
- The question uses different words from the documents, for example “cancellation” versus “termination”.
- Tables, scanned forms and spreadsheets are read poorly unless they’re prepared properly.
- The model fills gaps with general knowledge despite instructions.
The defense is testing with real questions from real users before launch, showing sources with every answer, and adding a human review step anywhere a wrong answer would be costly.
Starting small
The best first RAG project has three traits: one well-defined set of documents, a group of people who ask questions about them daily, and an easy way to check answers. Typical examples:
- staff asking about contract terms, HR policies or product specifications;
- support teams searching help articles and past tickets;
- sales teams looking up pricing rules or technical details mid-call.
Pick one, measure how long those questions take today, build a prototype on the real documents, and compare. That’s exactly how we run AI engagements: a short discovery, a working prototype on your files, then a pilot before rollout. If you have a pile of documents your team keeps searching through, tell us about it.