Building RAG Applications
38 short lessons with interactive exercises. You start from zero and move from beginner to advanced.
- 38 lessons
- 3 levels
- Arabic & English
- Start free
What you will learn
- Map the RAG path from document to answer, and name what goes into and comes out of each stage.
- Split documents into chunks that keep their meaning, and choose the right size for the document type and the questions.
- Evaluate retrieval by calculating precision, recall and MRR on a set of test questions.
- Debug a wrong answer stage by stage to find where a RAG system broke down, and choose the right fix.
About this course
How does a smart assistant answer questions about files the model has never seen? The course starts from that question. In the first lessons you'll understand how a retrieval-augmented generation (RAG) system works step by step, from embeddings and semantic search to an answer that comes from the context alone. Then you'll learn how to split documents, choose the right search method, and measure retrieval quality with numbers. In the advanced lessons you'll protect the system from prompt injection, apply permissions and calculate the cost, until you can trace a wrong answer and pinpoint the stage where the system broke down. You won't write any code in this course, but some lessons include a short Python program that you read and run.
Skills
- Semantic Search
- Document Chunking
- Retrieval Evaluation
- RAG Debugging
Lessons
Every lesson is short, and the exercises after it lock in what you learned.
Beginner level
11 lessons
- What Is RAG?
- Why RAG and When Not To
- Embeddings
- Semantic similarity
- Semantic Search
- Vector Databases
- Document Indexing
- Retrieval
- Context Augmentation
- Grounded Answers
- The RAG pipeline
Intermediate level
13 lessons
- Document parsing
- Chunking
- Chunk Size
- Chunk Overlap
- Metadata
- Metadata Filtering
- Top-K Retrieval
- Keyword search
- Hybrid search
- Reranking
- Multi-Document RAG
- Source Citations
- Retrieval Evaluation
Advanced level
14 lessons
- Query Rewriting
- Query Expansion
- Multi-step retrieval
- Multi-source RAG
- Multimodal RAG
- Access-Controlled RAG
- Indirect Prompt Injection
- Index Updates
- Answer Evaluation
- Measuring Citation Accuracy
- Reducing hallucinations
- RAG cost and latency
- RAG Observability
- Where Did the System Break? Debugging RAG
Start your first lesson today
Get the Lammah app and pick “Building RAG Applications” from the courses. Each lesson takes a few minutes, and you can start free.






