Guide · AI at work
What can a business gain from RAG?
For owners and managers who want AI to answer questions from the company's own documents.
Checked on 14 October 2026
The short answer
RAG, short for retrieval-augmented generation, lets an AI model answer from your own documents. It searches your files for passages that match the question, then answers from them with the source. Businesses use it for staff and customer questions on policies, product data and contracts. Model fees run cents per question. Check answers before you rely on them.
Remember
- Start with staff questions, then open it to customers.
- Model fees: under 2 US cents a question at October 2026 prices.
- Show the source with every answer, and check it before you act.
General guidance on software, checked on 14 October 2026. It is not professional advice for your situation.
How to start
Do the first six steps before anyone outside the project uses it.
Pick the first job
Choose one set of questions that people ask your team again and again, with answers that sit in documents you own. Good first jobs are staff questions on HR policy and leave, customer questions on product specifications, delivery and returns terms, and finding a clause across many contracts. Start with the one where a wrong answer costs least.
Gather the current documents
Collect the policies, product sheets, price lists and contracts the answers should come from. Keep only the current version of each and remove drafts and duplicates, or the model may quote an old rule. A question your documents cannot answer gets a wrong or empty reply. A 2024 study of RAG systems lists it first among seven ways they fail.
Set who can see what
RAG finds passages across every file you load. If salary data and staff policies sit in one index, any user can pull up either. The OWASP guide to AI security risks lists this leak and advises permission-aware search, so each person retrieves only the files they may open.
Decide where it runs
A hosted model, such as one from Anthropic or OpenAI, receives the passages it reads with each question. A model on your own Mac or server keeps them in-house, with no fee per question. If the documents hold personal data, meaning information that identifies a person, the UAE's Federal Decree-Law No. 45 of 2021 applies. Companies in free zones with their own data laws, such as DIFC and ADGM, follow those laws instead.
Price the running costs
For each question, the model reads the question plus the passages found, then writes the answer. Providers bill by the token, a word or part of a word. At October 2026 list prices, a question that sends 5,000 tokens and gets 500 back costs about 1.5 US cents on Claude Sonnet 5.5 and 0.75 cents on Claude Haiku 4.5. Turning documents into embeddings, the number codes the search runs on, costs $0.02 per million tokens with OpenAI's text-embedding-3-small. Staff time to sort documents and test answers usually costs more than the model. That last point is advice.
Test with questions you know
Before launch, write at least ten questions whose answers you already know, with the page each one comes from. Run them and mark each answer right or wrong, noting anything left out. Run them again after every change to the documents, the model or the settings, and once a month while it is live. The number of questions and the monthly check are advice.
Show the source with each answer
Set it to show the passage and file behind every answer, so the reader can check it in seconds. For contracts and legal terms, read the clause itself before you act. Legal research tools built on RAG still made up answers in a 2024 Stanford study.
Pilot with staff, then customers
Give it to staff first for a few weeks and collect the answers they flag. Open it to customers once your test questions pass. A business answers for what its chatbot tells customers. In 2024, the Civil Resolution Tribunal of British Columbia ordered Air Canada to pay a customer after its website chatbot misstated the airline's bereavement fare policy.
Mistakes to avoid
Launching straight to customers
A wrong answer to a customer can cost you. The tribunal in the Air Canada case held the airline responsible for the information on its website, its chatbot included.
Trusting it on contracts
A fluent answer about a clause can still be wrong. Read the clause it links before you sign, pay or refuse.
Loading every file you have
Old versions, drafts and duplicates give the model conflicting passages. Load the current documents and retire the rest.
One index for everyone
Mixing HR, finance and public documents in one place lets any user retrieve any of them. Split them by who may read them.
Treating documents as safe input
A file or web page can hide text written as instructions to the model. This is indirect prompt injection, and OWASP notes that RAG does not fully stop it. Load files from trusted sources, and give the assistant no power to send, pay or delete.
What the evidence says
Picking a first task, the size of the test set and the staff pilot are advice that no study tests. The studies below measure what retrieval adds and where it fails.
- The name RAG comes from a 2020 paper at NeurIPS, a major AI research conference. Its models searched an index of Wikipedia before answering, and wrote more specific and factual answers than the same kind of model working from memory alone.
- Adding retrieval to chatbots substantially cut knowledge hallucination, facts the model makes up, in a 2021 study in Findings of EMNLP.
- Retrieval lowers the error rate, and some errors remain. A Stanford team tested legal research tools built on RAG and found that Lexis+ AI and Westlaw AI-Assisted Research made things up between 17% and 33% of the time. The study appeared in the Journal of Empirical Legal Studies.
- A 2024 study of three RAG systems in different fields, presented at the International Conference on AI Engineering, named seven ways they fail. The first is a question the documents cannot answer. In others, the right passage ranks too low, gets left out, or reaches the model and is misread. The authors found that a RAG system can be fully validated only once people use it.
- Customer support agents with an AI assistant that suggested replies resolved 14% more issues per hour on average, and novice agents 34% more, in a study in The Quarterly Journal of Economics. Experienced agents gained little. The assistant drew on past support chats, so the result speaks to AI help at a support desk in general.
Sources
- Barnett et al. (2024), Seven Failure Points When Engineering a Retrieval Augmented Generation System, CAIN 2024
- OWASP Top 10 for LLM Applications 2025: LLM08 Vector and Embedding Weaknesses
- Federal Decree-Law No. 45 of 2021 on the Protection of Personal Data (UAE)
- Anthropic: Claude pricing
- OpenAI: API pricing
- Magesh et al., Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools, Journal of Empirical Legal Studies
- Moffatt v. Air Canada, 2024 BCCRT 149, Civil Resolution Tribunal of British Columbia
- OWASP Top 10 for LLM Applications 2025: LLM01 Prompt Injection
- Lewis et al. (2020), Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, NeurIPS
- Shuster et al. (2021), Retrieval Augmentation Reduces Hallucination in Conversation, Findings of EMNLP
- Brynjolfsson, Li and Raymond, Generative AI at Work, NBER Working Paper 31161, The Quarterly Journal of Economics (2025)
- NIST AI 600-1 (2024), AI Risk Management Framework: Generative AI Profile
Terms used in this guide
- RAG (retrieval-augmented generation)
- A setup where an AI model first searches your documents for passages that match a question, then writes its answer from them.
- Embedding
- A list of numbers that stands for the meaning of a passage, so the system can find passages close in meaning to a question.
- Vector database
- The store that holds the embeddings and finds the ones closest to a question.
- Token
- The unit AI providers count and bill: a word or part of a word. Prices are quoted per million tokens.
- Hallucination
- A confident answer that is wrong. NIST, the US standards institute, calls it confabulation.
- Prompt injection
- Text that tries to give the model new instructions. When it hides in a file or web page the model reads, it is indirect prompt injection.
Questions people ask
Is RAG the same as training an AI on my data?
No. Training changes the model itself, which is slow and costly to redo. RAG leaves the model as it is and looks up your documents each time someone asks. Change a document and the next answer uses the new version.
How much does RAG cost a month?
For 1,000 questions a month, model fees come to about $15 on Claude Sonnet 5.5 or $7.50 on Claude Haiku 4.5, at October 2026 list prices with 5,000 tokens sent per question. Add hosting or a vector database if you use one, plus staff time. A model on your own Mac has no fee per question.
Do my documents leave the company?
With a hosted model, the passages found for each question go to the model provider, so check its data terms and where it processes data. With a model on your own Mac or server, they stay in-house. The guide to a private RAG on a Mac, linked below, sets that up with Ollama and AnythingLLM.
Can customers ask it questions directly?
Yes, once it passes your tests with staff. Show the source with each answer and give customers a way to reach a person. You remain responsible for what it tells them.
Can it review contracts?
It can find and quote clauses across many contracts in seconds. Judging what a clause means for you is work for a person, and for a lawyer when much is at stake. Tools built for lawyers still got 17% to 33% of answers wrong in the Stanford study.
How often should we retest it?
Run your test questions again after any change to the documents, the model or the settings, and on a fixed day each month. That schedule is advice. A 2024 study of RAG systems found that problems show up in use, so read the answers staff flag.
Related guides and tools
Get help setting up RAG for your business
Tell us which documents your team answers questions from. We help you set it up where your data should live, then test it with questions you already know the answers to.
Made in Dubai by Redsprint
We design and build apps for iPhone, iPad, Mac and the web, from a Dubai free zone company of our own. These answers are free for anyone setting up or running a business in the UAE.