Read the transcript
AI can answer questions about documents it never learned. AI glossary, entry twenty-four: RAG, retrieval-augmented generation. It's a method where an AI first looks up passages in documents, then answers using them. First, the open book. Without RAG, the AI answers from memory, like an exam with no notes. With RAG, it's an open-book exam: it looks up the right passages first… then writes its answer from them. Then, an example. You ask your company's assistant how many remote-work days you get per week. It searches the employee handbook, finds the right passage, adds it to your question… and answers, citing the page. Why does it matter? The AI can draw on recent or private documents, without being retrained. And since it cites its sources, you can check. But careful: it can still pull up the wrong passage, or misread it. Remember: search first, then write the answer; the AI can draw on recent or private documents; and the answer can cite its sources, which makes checking easier. RAG is an open-book exam for AI. Next entry: synthetic data.
How it works
With RAG, your question first triggers a search through a collection of documents: a help center, contracts, internal notes. The most relevant passages are added to the prompt, and the AI writes its answer from them. It's like taking an open-book exam instead of answering from memory.
Why it matters to you
Sourced answers
An assistant that cites its sources often works this way. You can open the document and check for yourself.
Your own documents
RAG lets an AI answer questions about documents it never saw in training, without retraining it.
Common myth
False: “With RAG, the AI can't get things wrong.”
It gets things wrong less often, but it still happens. The search can pull up the wrong passage, and the AI can misread or misquote it.
In the news
- Apple Enhances RAG Retrieval SpeedsApple Machine Learning Research
- IskayPet Streamlines Internal Knowledge with Amazon BedrockAWS Machine Learning
- Amazon Bedrock AgentCore Automates Slide CreationAWS Machine Learning
- Choosing Vector Stores for Amazon BedrockAWS Machine Learning
- AWS Enhances Support Workflows with Generative AIAWS Machine Learning