Retrieval-augmented generation (RAG)
A method where an AI system first searches a collection of documents for relevant passages, then writes its answer from what it found.
How settled is it?
Still settling
The core idea is clear; the edges are still moving.
How did we score this?Who uses it?
Power users
Common among people who use AI heavily or build things for their team.
What it is
Retrieval-augmented generation answers in two steps, search first, then write: the tool searches a collection of documents for passages that match the question, then hands those passages to a Large language model (LLM) to write the answer from. It's like an assistant who pulls the five relevant files from the archive instead of reading the whole archive, which lets a tool work with far more material than fits in its Context window. It is one common way to achieve Grounding, and most "ask questions about our internal docs" tools work this way.
Keeping it straight
How you'll hear it
“Their demo says the chatbot uses RAG over our help center, so it should only answer from our articles.”
People also say RAG or knowledge retrieval.
Not to be confused with
Grounding is the goal of tying an answer to sources you can check. Retrieval-augmented generation is one method for getting there, by searching a document collection before answering; grounding can also come from a web search or a file you attach directly.
The honest part
A vendor saying "RAG" tells you the shape of the system, not how good its search is. It can retrieve the wrong passage or miss the right one, then answer confidently from what it got, and it is only as current as the documents behind it, so outdated docs mean outdated answers. It's a builder's term: most employees will never need to say it, but they will hear it in vendor demos, and the useful follow-up questions are what it searches, how fresh that is and whether it cites.
Your move
What this looks like in your work, and how to handle it.
People and HR
When HR rolls out a policy chatbot that searches the handbook, test it with five questions you know the answers to, including one covered only by last month's update. You learn whether it retrieves the current page or an old one before employees rely on it.Finance
In a tool that searches your finance policy library, ask about the expense approval threshold and check which document it cites. If it pulls a superseded policy, the fix is removing the old file from the library, not rewording your question.Sales
When trialing a "chat with your sales content" tool, ask it about a pricing change that is only in last week's deck. It should search the library, find that deck and return the new price with a citation; if it cites an old deck instead, ask the vendor how often the content is refreshed.Marketing
Ask your team's knowledge base how the logo may be used on partner materials. It searches the brand folder and returns rules with a citation; if the citation is the 2022 guide, remove that file so future answers come only from the current one.Operations
When a project's files outgrow what the AI can read at once and the tool switches to searching them, ask about a specific procedure and have it quote the passage it used. If the quote comes from the wrong section, name the document in your question.Legal
In a tool that searches your contract repository, ask which agreements contain a particular clause and request the clause text with each result. Spot-check two against the originals, since a search can miss a contract that phrases it differently.Customer Support
When the help-center bot gives a wrong answer, find the article it retrieved. Usually that article is outdated or conflicts with another one, and fixing the article fixes every future answer that draws on it.
In your tools
- Claude: RAG for ProjectsOfficial docs for RAG for Projects (opens in a new tab)
- ChatGPT: Retrieval and file search (OpenAI API) (closest equivalent)Official docs for Retrieval and file search (OpenAI API) (opens in a new tab)
- Gemini: File Search (Gemini API)Official docs for File Search (Gemini API) (opens in a new tab)
- Google Cloud: RAG EngineOfficial docs for RAG Engine (opens in a new tab)
- Microsoft: RAG in Azure AI SearchOfficial docs for RAG in Azure AI Search (opens in a new tab)
Read next
- GroundingConnecting an AI's answers to specific trusted sources, such as search results or your company's documents, so they can be checked.
- AgenticDescribes AI that can take some steps toward a goal on its own, rather than only answering. It comes in degrees, not yes or no.
- ConnectorA ready-made link that lets an AI tool read from, or act in, another app such as your email, shared drive or sales system.
Missing a word? Suggest one