Deepa Shenoy explains: How RAG Gives AI External Knowledge
Deepa Shenoy uses a fictional company remote work policy to explain retrieval-augmented generation. The system retrieves a passage from an approved knowledge base, adds it to the question and then generates, without retraining the model for each question.
In this video Deepa Shenoy, with narration by Liam on her behalf, explains how retrieval-augmented generation, or RAG, gives AI access to external knowledge. It builds on her earlier video about hallucinations, and it answers a practical question: what does an AI do when it needs a fact it was never trained on?
What a model may not know
A language model draws on patterns learned during training and on the context it receives. That means it may not know a specific, current or private fact that you need. The video offers a simple case. Imagine asking an assistant, "What is our company's remote work policy?" That policy is private, and it may have changed. A model working only from training has no reliable way to answer.
Retrieval before answering
With RAG, the system does something before it answers. It searches an approved company knowledge base and retrieves a relevant policy passage. It then adds that passage to the question as context. Now the model has specific information to work from, instead of having to guess.
The fictional policy example
The video completes the example in a fictional way. If the retrieved policy says remote work is allowed two days a week, the assistant can explain that rule. The answer comes from the passage that was fetched, not from the model's general patterns. The video sums the method up as retrieve first, add context, then generate.
Where the knowledge comes from
The external sources can include documents, databases or other approved knowledge sources. The video stresses that the model is not retrained for each question. What changes from question to question is the context supplied to it, not the model itself.
How it connects to hallucinations
The video links RAG to her last video on AI hallucinations. Relevant retrieved context can help reduce unsupported claims. It does not guarantee correctness, though. Retrieval and source quality still matter, because the model can only be as well grounded as the passage it was given. The closing advice is to check the answer against its source.
Key takeaways
- A model may not know a specific, current or private fact, such as a company's remote work policy.
- RAG retrieves a relevant passage first, adds it to the question as context, and then generates.
- The sources can be documents, databases or other approved knowledge sources.
- The model is not retrained for each question.
- Relevant retrieved context can help reduce unsupported claims.
- RAG does not guarantee correctness, and retrieval and source quality still matter.
- Check the answer against its source.
Try it yourself
Think of a question in your own work that depends on a private or changing document, like a policy or a price list. Write down which passage a retrieval step would need to find, and then compare any AI answer against that passage to see whether it actually used what the passage says.
Chapters
Full transcript(auto-generated, with timestamps)
The Limits of Static Training Knowledge
[0:00]Hi, I am Deepa Shenoy. In this video is about how RAG gives AI access to external knowledge. This is Liam narrating for Deepa. A language model draws on patterns learned during training and on the context it receives. It may not know a specific, current, or private fact you need. Imagine asking an assistant, "What is our company's remote work policy?" That policy is private and it may have changed. Before answering,
The Query Example: Retrieving Private Remote Work Policies
[0:25]The system searches an approved company knowledge base and retrieves a relevant policy passage. It adds that passage to the question as context. Now, the model has specific information to work from. In our fictional example, if the policy says remote work is allowed 2 days a week, the assistant can explain that rule. That is retrieval augmented generation. Retrieve first, add context, then generate. External sources can include
The RAG Cycle: Retrieve First, Add Context, Then Generate
[0:51]Documents, databases, or other approved knowledge sources. The model is not retrained for each question. This connects to my last video on AI hallucinations. Relevant retrieved context can help reduce unsupported claims, but RAG does not guarantee correctness. Retrieval and source quality still matter. Check the answer against its source. How RAG gives AI access to external knowledge. This is Liam narrating for
Connecting RAG to AI Hallucination Reduction
[1:17]Deepa for Humanitarian's AI.
More from Humanitarians AI Fellows
1:25Deepa Shenoy explains: Brutalist Workflow & Explainer Types
1:09Deepa Shenoy explains: Brutalist Film-as-Code Setup
2:26Deepa Shenoy explains: How Training Data Shapes AI Decisions
1:28Deepa Shenoy explains: How AI Hallucinations Happen and How to Mitigate Them
2:24Deepa Shenoy explains: Brutalist Video Submission & QC Process
1:16