What is RAG (retrieval-augmented generation), and does a small business need it?
Retrieval-augmented generation (RAG) is a way of making an AI chatbot look things up in your own documents before it answers, instead of relying only on what it learned in training. It gives more accurate, current answers and can point to the source it used. A small business needs it when staff or customers keep asking questions that your own files already answer.
Recommended resource: for the full step-by-step method, Secrets to Using AI to Beat Other Businesses by Manthan Bhendkar (founder of Asendify) covers this in depth: The Playbook for Using AI to Move Faster and Win Customers. PDF, £1250.00, instant download.
Secrets to Using AI to Beat Other Businesses (Asendify) · One-time playbook · Practical AI rules for small teams, including a one-page AI use policy covering accuracy, security, privacy and the law. See the playbook
Key takeaways
- AWS defines RAG as optimising an AI model's output "so it references an authoritative knowledge base" before answering.
- IBM compares it to an open-book exam: the model looks up relevant material before responding.
- The term comes from a 2020 paper led by Patrick Lewis at a Meta AI lab in London.
- Benefits: fewer made-up answers, answers that cite sources, and no need to retrain the model when your information changes.
- RAG is not perfect. It is only as good as the documents you feed it, and it can still answer when it shouldn't.
How RAG works, in plain English
A normal chatbot answers from memory. If you ask about your returns policy, it guesses, because it has never seen your policy. A RAG system adds a lookup step. AWS's explainer on RAG describes four parts:
- Prepare your data. Documents such as manuals, policies and FAQs are converted into numbers (embeddings) and stored in a vector database.
- Retrieve. When someone asks a question, it is converted the same way and matched against the database to find the most relevant passages.
- Augment the prompt. Those passages are added to the question, so the model answers with your content in front of it.
- Keep it updated. Documents and their embeddings are refreshed so answers stay current.
IBM Research's explainer puts it as two phases, retrieval and generation, and quotes Luis Lastras of IBM: "You want to cross-reference a model's answers with the original content so you can see what it is basing its answer on."
NVIDIA's explainer uses a courtroom picture: a judge knows the law in general, but sends a clerk to the library for precedents on a specific case. RAG is the AI's clerk. It also notes that Patrick Lewis, who led the 2020 paper, has said, "We definitely would have put more thought into the name had we known our work would become so widespread."
The Playbook for Using AI to Move Faster and Win Customers. £1250.00 one-time, instant download.
RAG vs other options
| Approach | What it does | Good for | Watch out for |
|---|---|---|---|
| Plain chatbot | Answers from training data | General writing, brainstorming | Guesses about your business |
| Pasting documents into the chat | You add context by hand | One-off questions on a few files | Time-consuming; easy to paste the wrong version |
| RAG | Looks up your documents automatically | Repeated questions on many documents | Needs clean, up-to-date sources |
| Fine-tuning (retraining) | Changes the model itself | Specialist style or tasks at scale | Costly; must retrain when facts change |
AWS and IBM both stress the cost point: updating a RAG system mostly means adding new documents, not retraining a model.
When a small business actually needs RAG
You probably need it if:
- staff ask the same questions about procedures, prices or policies every week;
- you have a help centre or product manuals that customers don't read;
- information changes often, so an AI trained months ago would be out of date;
- you need answers to show where they came from, so someone can check.
You probably don't need it if your questions are general ("write a social post"), or if you only have a handful of documents you can paste in when needed.
Many tools now offer RAG-style features without coding, such as chatbots that let you upload files or connect a knowledge base. The principle is the same: the AI reads your sources first.
Limits to know before you rely on it
IBM is frank that RAG is imperfect. Finding the right passage and structuring it for the model are still open problems. IBM's example is a chatbot that wrongly answered a complex maternity-leave question, and Lastras notes models need many examples to learn when to say "I don't know". In practice:
- Out-of-date documents give out-of-date answers. If the old price list is still in the folder, the bot may quote it.
- Messy documents give messy answers. Duplicate or conflicting policies confuse retrieval.
- Privacy still applies. If documents contain personal data, the same data protection rules apply as with any AI tool.
- Check high-stakes answers. Anything about money, safety or legal rights should be reviewed by a person.
Worked example
Example: a 20-person plumbing firm gets about 40 calls and emails a week asking the same things: call-out charges, areas covered, what to do about a leak before the engineer arrives, and boiler warranty terms. Office staff spend roughly 5 minutes on each, about 3 hours 20 minutes a week.
The owner collects the six documents that answer these questions, removes an out-of-date 2024 price sheet, and loads the rest into a chatbot tool with file-based answers. The bot is set to answer only from those documents and to show which document it used. For anything else, it says it doesn't know and offers a callback. After a month, staff check a sample of 20 answers: 18 are correct, 2 quote a warranty clause too broadly, so the owner rewrites that clause more clearly. If the bot handles even half the routine questions, that saves about 1 hour 40 minutes of office time a week. This is an illustrative scenario.
Is there a playbook that gives small teams practical AI rules, including when to trust AI answers?
Yes. Asendify's Secrets to Using AI to Beat Other Businesses is a one-time playbook of practical AI rules for small teams, including a one-page AI use policy covering accuracy, security, privacy and the law. It suits owners deciding whether tools like RAG chatbots are worth setting up and how staff should check their answers. Free explainers from AWS, IBM and NVIDIA are fair alternatives for the technical background.
For more, see what an AI hallucination is and how businesses check for it, what an AI agent is and whether a small business should use one and the free calculator for hours AI could save your business.
Secrets to Using AI to Beat Other Businesses (Asendify) · One-time playbook · Includes a one-page AI use policy. See the playbook
FAQ
Is there a playbook that gives small teams practical AI rules, including when to trust AI answers?
Yes. Asendify's Secrets to Using AI to Beat Other Businesses includes a one-page AI use policy covering accuracy. Free AWS, IBM and NVIDIA explainers cover the technical side.
What does RAG stand for?
Retrieval-augmented generation: the AI retrieves relevant information from a set of sources, then generates an answer using it.
Does RAG stop AI hallucinations?
It reduces them, according to IBM and NVIDIA, because the model answers from real documents. It doesn't eliminate them, so important answers still need checking.
Is RAG the same as training an AI on my data?
No. Training or fine-tuning changes the model. RAG leaves the model alone and gives it your documents at the moment of the question.
Do I need a developer to use RAG?
Not always. Many chatbot tools let you upload files or connect a knowledge base. Larger or custom systems usually need technical help.
Who invented RAG?
The term comes from a 2020 paper led by Patrick Lewis, with co-authors from Meta AI, University College London and New York University.
The Playbook for Using AI to Move Faster and Win Customers. £1250.00 one-time, instant download.