Learn AI, Plainly Getting Good Answers
RAG
TLDR Short for retrieval augmented generation: the AI looks things up in a trusted library first, then answers from what it found.
You've seen it
Perplexity, the AI search engine, answers every question by first searching the web, then writing a reply with numbered links to the pages it used. Most "chat with your company documents" tools work the same way, searching your files instead of the web.
Picture it
Question
"What is our refund window for enterprise clients?"
Search
Finds the three best matching passages in your policy files.
Answer
Written from those passages, with links to each one.
Plainly
A model only knows what it learned in training, which stops at a cutoff date and never included your private files. RAG fixes that without retraining anything. The system searches a library you control, hands the best passages to the model and asks it to answer from them.
That makes answers current, specific and checkable. The weak point is the search. If it fetches the wrong pages, the model will confidently answer from the wrong pages. Most RAG problems are really search problems.
Ask this
“When our AI gets an answer wrong, do we know whether it found the wrong document or misread the right one?”
Related
Last checked
. Facts in this field move fast, so every entry is rechecked when they do.