AI models are impressive until they are wrong. And when they are wrong, they rarely hesitate. They generate incorrect information with exactly the same confidence as correct information.
This is called hallucination, and it is one of the most common complaints from people who use AI tools at work.
What is RAG?
Retrieval-Augmented Generation
Before the AI answers your question, it goes and finds relevant information from a source you trust, then uses that to shape its response. It retrieves before it generates.
Think of it as the difference between asking a colleague who is working from memory versus one who just looked it up.
You ask an AI about baggage allowance for an economy flight to Tokyo.
“Most airlines allow one carry-on and one checked bag, though this varies by airline and route.”
“For economy class flights to Tokyo, you are allowed one 7kg carry-on and one 23kg checked bag. Additional baggage fees apply.” ↗ Source linked.
You probably interact with RAG-powered systems already without realising it.
Enterprise AI Assistants
Surface the right internal policy document when you ask a question
Customer Support Bots
Pull live help articles instead of guessing at answers
Legal and Medical Tools
Retrieve current case law or research before responding
Coding Assistants
Fetch relevant documentation before suggesting a fix
The common thread: the AI is consulting a source, not guessing.
Adding a document to a GPT interface is not RAG
That is manually providing context. RAG retrieves relevant information automatically, in real time, based on your query — without you doing anything extra.
RAG does not just fetch data and hand it over
It retrieves, ranks, and filters to find what is most relevant before passing it to the model. There is a layer of judgement between the source and the response.
RAG does not guarantee accuracy
It reduces hallucination significantly — but only when the source it retrieves from is itself reliable. Garbage in, garbage out still applies.
Why It Matters
Don't just read experiment. Browse our hands-on experiments designed to help you apply what you've learned.
Browse Experiments