🟢 WEEK 2 — Lesson 2
Title: Introduction to RAG (Conceptual)
🎯 Lesson Objective
By the end of this lesson, students will be able to understand why AI sometimes gives wrong information, what RAG means, and how connecting AI to trusted knowledge improves accuracy.
1️⃣ Why AI Sometimes “Hallucinates”
Sometimes AI gives answers that sound correct…
but are actually wrong.
This is called a hallucination.
Why does it happen?
Because AI:
• Predicts words based on patterns
• Does not automatically check real-time facts
• Does not “know” things like humans
Example:
Ask AI about a small local school.
It may create information that sounds real — but is not verified.
AI sounds confident.
But confidence is not always correctness.
2️⃣ What is RAG? (Simple Meaning)
RAG stands for:
Retrieval-Augmented Generation
Simple explanation:
RAG means AI first searches trusted information,
then uses it to generate a better answer.
Without RAG:
AI guesses from training patterns.
With RAG:
AI checks real documents before answering.
Think of it like this:
Normal AI = Student answering from memory.
RAG AI = Student checking textbook before answering.
Big difference.
3️⃣ How RAG Works (Very Simple Flow)
Step 1: User asks a question.
Step 2: AI searches connected documents.
Step 3: AI retrieves relevant information.
Step 4: AI generates answer using that information.
Structure:
Question → Retrieve → Generate → Answer
That retrieval step improves accuracy.
4️⃣ Why RAG is Powerful
RAG helps:
• Reduce hallucinations
• Use school materials or company data
• Keep answers up-to-date
• Build trusted AI systems.
Example:
A school connects AI to:
School handbook
Curriculum notes
Past exam papers
Now the AI gives answers based only on real school material.
That is powerful.
5️⃣ Real-Life Example: School Knowledge AI Assistant
Imagine building:
A School Knowledge AI Assistant
Students ask:
“When is registration deadline?”
“What topics are in Biology exam?”
“What are school rules?”
Instead of guessing, the School AI:
Retrieves information from official school documents
Then answers correctly.
That is RAG in action.
RAG turns AI into a research assistant — not just a predictor.
🛠 Practical Activity
Design a Simple RAG Concept
Students must design a:
“School Knowledge AI Assistant”
They must define:
• What documents will be connected?
• What type of questions will students ask?
• Why is RAG better than normal AI here?
Keep it simple and practical.
📌 Mini Assessment (End of Class)
Students submit:
1 short explanation of RAG in your own words
1 example of where RAG would be useful
Assessment criteria:
Clear understanding
Correct explanation
Practical example
💡Key Takeaway
AI without knowledge can guess.
AI with retrieval becomes reliable.
RAG makes AI smarter by connecting it to real information.
Builders don’t rely on guessing.
They connect AI to trusted knowledge.
Next is Week 2 – Lesson 3: AI Content & Productivity Systems
Now we move from knowledge… to building full systems 😌
Powered by Soft AI Africa | Training the Next Generation of AI Leaders in Africa.