What Is a RAG Chatbot, and Why It Stops Making Things Up
A chatbot that guesses your refund policy is worse than no chatbot. A RAG chatbot looks the answer up in your own documents first. Here is how that works, where it still fails, and when you need it.

Every business that has tried a generic AI chatbot has a story about the answer it invented. A delivery promise you never made. A discount that does not exist. A refund window twice as generous as yours. The model was not lying. It simply had no idea what your policy was, so it wrote something that sounded like a policy. A RAG chatbot is the fix, and it is now the standard way to build a bot you can put in front of customers.
What is a RAG chatbot?
A RAG chatbot is a chatbot that searches your own documents before it answers, then writes its reply from the passages it found. RAG stands for retrieval augmented generation: retrieval finds the facts, generation turns them into a readable answer. Because each reply is built from your content rather than the model's memory, the bot can show its source, and it stops inventing details about your business.
Think of it as the difference between a closed-book exam and an open-book one. A plain AI model sits the exam from memory, and when memory runs out it guesses with confidence. A RAG chatbot is allowed to open your help centre, your policies and your product sheets, find the right page, and answer from it. Same model, very different reliability.
Why ordinary AI chatbots make things up
A language model is trained to predict the next most likely words. It learned from a huge amount of public text, up to a cut-off date, and it has never seen your price list, your opening hours or the change you made to your returns policy last month.
Ask it about any of those and it does what it was trained to do: produce a fluent, plausible answer. Plausible is the problem. The industry calls this hallucination, which makes it sound rare and strange. It is neither. It is the default behaviour of a model asked about facts it was never given.
Writing a longer prompt only helps so far. You can paste your FAQ into the instructions, but a real business has hundreds of pages of knowledge, it changes weekly, and most of it is irrelevant to any single question. RAG solves this by fetching only the few passages that matter, fresh, every time someone asks.
How does a RAG chatbot work?
There are two halves. The first runs ahead of time, whenever your content changes. The second runs every time a customer asks something.
- Collect. Pull in the sources the bot may answer from: help articles, policy pages, product data, PDFs, spreadsheets, past support replies.
- Split. Break each document into passages small enough to be specific, usually a few paragraphs, keeping headings and tables intact.
- Index. Convert each passage into an embedding, a list of numbers that captures its meaning, and store it in a vector database alongside the original text and its source.
- Retrieve. When a question arrives, convert it the same way and find the passages closest in meaning. Good systems blend this with plain keyword search, so product codes and names still match exactly.
- Generate. Hand the model the question, the retrieved passages and firm instructions: answer only from these, cite the source, and say so when the answer is not there.
- Hand over. If retrieval comes back empty or the question is outside the bot's job, pass the conversation to a person with the context attached.
A worked example. A customer asks a furniture retailer, 'Can I return a sofa if it does not fit through my door?' The bot searches and finds two passages: the returns policy section on large items and the delivery page on measuring access. The model writes a three-sentence answer from those two passages and links to both. If the policy changes on Monday, the document changes, the index updates, and Tuesday's answer is already correct. No retraining, no developer ticket.
RAG vs AI chatbot vs rule-based chatbot
People searching for 'RAG vs AI chatbot' are usually comparing a RAG bot with a model answering on its own. There is a third type still running on plenty of websites: the rule-based bot that follows a scripted tree of buttons.
| Aspect | Rule-based chatbot | Plain AI chatbot | RAG chatbot |
|---|---|---|---|
| Where answers come from | Scripts someone wrote by hand | The model's training memory | Your documents, retrieved per question |
| Handles questions phrased in new ways | No, only the paths it was given | Yes | Yes |
| Knows your current prices and policies | Only if someone edits the script | No | Yes, as soon as the documents change |
| Can show where an answer came from | Not applicable | No | Yes |
| When it does not know | Loops back to the menu | Usually guesses | Says so and offers a person |
| Main upkeep job | Rewriting scripts | Constant correction | Keeping source documents accurate |
Rule-based bots are predictable and dull. Plain AI bots are fluent and unreliable. RAG keeps the fluency and borrows the reliability from your own content, which is why it has become the default for customer-facing bots.
RAG vs fine-tuning
Fine-tuning means training an existing model further on your own examples so it changes how it behaves. RAG leaves the model alone and changes what it reads. They solve different problems, and mixing them up is one of the most expensive mistakes in chatbot projects.
| Aspect | RAG | Fine-tuning |
|---|---|---|
| What it changes | The information the model sees for each question | The model's habits: tone, format, the kind of answer it gives |
| Best at | Facts that are specific to you and that change | A consistent style or a narrow, repeated task |
| Updating knowledge | Edit the document; the next answer reflects it | Prepare new training data and train again |
| Shows its sources | Yes, the passages are known | No, knowledge is blended into the model |
| Typical use in a business chatbot | Almost always | Occasionally, on top of RAG |
Fine-tuning a model on your help centre does not reliably teach it your facts. It teaches it to sound like your help centre, which is a different and more dangerous thing: confident answers in your voice, with no source to check. OpenAI's own guide to model optimisation, checked in October 2026, starts with measuring output and giving the model relevant context, including private data, in the prompt, and treats fine-tuning as something to consider for some use cases. The same page notes that OpenAI is winding down its own fine-tuning platform, which is now closed to new users.
The sensible order for a business bot is RAG first, good instructions second, and fine-tuning only if a measured problem remains, such as a format the model keeps getting wrong. Many bots never need the third step.
What a RAG chatbot is good for
- Customer support over a help centre, where most questions already have a written answer somewhere.
- Pre-sales questions on your website or WhatsApp: specifications, compatibility, delivery areas, what is included.
- Internal knowledge assistants that answer staff from SOPs, HR policies and past tickets, respecting who may see which documents.
- Sales teams looking up product sheets, contract terms or case notes mid-call.
- Clinics and dental practices answering non-clinical questions about treatments offered, preparation and fees, with anything medical passed to a person.
- Any document set too large to read every time, where a cited answer saves someone a search.
Our RAG chatbot development work covers all of these. The pattern is the same each time. What changes is the content, the permissions and the rules for handing over.
Where RAG chatbots still go wrong
RAG reduces made-up answers sharply. It does not abolish them. When a RAG bot fails, the cause is nearly always one of these.
- Conflicting sources. Two price lists, one from last year. Retrieval finds both and the model picks one. The fix is one source of truth per topic, not a cleverer model.
- Badly split documents. A table cut in half separates a product from its price. Splitting by structure, not by character count, prevents most of this.
- Vocabulary gaps. Customers say 'cancel', your terms say 'terminate'. Hybrid search and a short list of synonyms close the gap.
- Too much retrieved. Fifteen loosely related passages confuse the model and cost more. Three good ones answer better.
- Questions that need live data. 'Where is my order?' is not in any document. That needs a lookup in your system, which is a step towards an agent.
- Permissions ignored. An internal bot that retrieves from every file will happily quote board papers to a new hire. Access rules must apply at retrieval time.
Every one of these is found the same way: a test set of real questions with known correct answers, run before launch and again after every change. Any team offering RAG development services should show you that test set, and the scores, before asking you to trust the bot.
What you need before building a RAG chatbot
- A list of 50 to 100 real questions from your inbox, chat logs or tickets. These become the test set.
- One current document for each topic the bot may answer, with old versions removed or archived.
- A decision on scope: which questions the bot answers, which it hands over, which it refuses.
- Access rules, if the bot serves staff: who may see which sources.
- A named person who updates the documents when the business changes, because the bot is only ever as current as they are.
None of this is technical, and all of it decides quality more than the choice of model does.
Build or buy a RAG chatbot?
Many chatbot builders that let you upload PDFs or point at your website are RAG under the hood. For a small business answering from public pages, that can be enough, and you can be live this week.
A custom build earns its cost when you need control a builder cannot give: several sources kept in sync from your own systems, permissions per user, retrieval tuned and tested against your real questions, data kept in your own cloud account, or a bot that later needs to act as well as answer. Our guide to what an AI chatbot costs sets out how the build and the monthly running cost differ between the two routes. If the chatbot is one piece of a wider plan, our AI automation services cover the workflows around it.
How to tell if a chatbot is really using RAG
Vendors use the term loosely. Four questions will show you what a bot is actually doing, whether it is yours or one you are evaluating.
- Ask something only your documents contain, such as an unusual policy detail. A RAG bot gets it right. A plain model guesses.
- Ask something your documents do not contain. A good RAG bot says it does not know. A weak one invents.
- Ask where the answer came from. A RAG bot can point to the page or document.
- Change a document, then ask again. The answer should change with it, without anyone retraining anything.
Want a RAG chatbot that answers from your own documents?
Send us the questions your customers or staff ask most and tell us where the answers live today. We will tell you honestly whether a builder tool is enough. If it is not, we will scope a custom RAG chatbot with a fixed price for the build and an estimate of the monthly running cost. You can start a project here, and we reply within one business day.


