Glossary

What is RAG (retrieval-augmented generation)?

Also known as: RAG

Retrieval-Augmented Generation: Retrieval-Augmented Generation (RAG) is a technique where a language model first searches your company’s approved documents, then grounds its answer in them instead of relying only on general knowledge.

Company documents (product brochures, FAQs, policies, internal pricing rules) are split into small chunks and indexed. When a question arrives, the system retrieves the most relevant chunks and passes them to the model with instructions to answer only from them.

A Saudi example: a Riyadh finance company has eligibility rules that vary by product and employment sector. A RAG-based agent answers customers according to the current approved rules, and when policy changes, updating the document is enough, with no model retraining.

RAG greatly reduces hallucination but does not eliminate it. Output quality depends on document quality and freshness; outdated or contradictory information produces the same kind of answers. Review sources regularly and instruct the system to say “I don’t know” when it finds no answer.

Frequently asked questions

Does RAG mean training the model on my data?

No. The model is not retrained; it is given the relevant passages from your documents at question time, which makes updating information quick.

Which documents suit RAG?

FAQs, product guides, policies and terms, and past support logs, as long as they are current, clear and free of contradictions.

Related terms

Ready to see what AI can add to your growth?

Book a free 30-minute discovery session. We’ll identify your biggest opportunity, the right solution, and the return to expect within 90 days.