RAG: Retrieval-Augmented Generation
RAG lets AI answer using your own documents. Before answering, it searches your files for the most relevant pages, then writes the answer using those pages.
Watch the short video: Why RAG Makes AI Answers More Reliable (opens on YouTube)
Everyday analogy
An open-book exam. Instead of answering from memory (and maybe guessing), the student first finds the right page in the book, then writes the answer.
Example
A company HR bot: you ask "How many sick days do I get?" It finds the leave policy, reads it, and answers "12 days per year", with a link to the policy.
Why it matters: fewer hallucinations, up-to-date answers, and no need to retrain the model when documents change.
Try it yourself
About 15 minDo RAG by hand
- Copy a public FAQ page (e.g. a bank's or airline's) into an AI chatbot.
- Ask: Using only the text above, answer: [your question]. Quote the line you used.
- Ask something not in the text and see if it admits it doesn't know.
What you should see: Answering from supplied text with quotes is the core idea of RAG.
Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.