DeepLearning.AI
Generative AI
Beginner
Interactive

Free course on DeepLearning.AI

Building and Evaluating Advanced RAG

2.1 hoursFree

Reviewed by the FreeCodingCourses.com editorsLast reviewed: How we review

At a glance

Level
Beginner
Hours
2.1
Cost
Free

No certificate with this course.

Open Course

DeepLearning.AI's Building and Evaluating Advanced RAG teaches Retrieval-Augmented Generation (RAG), the technique that lets language models answer questions about your own documents. You learn to index documents, retrieve relevant chunks, and build evaluation pipelines to measure quality. The course is free on deeplearning.ai. After finishing, you can build Q&A systems over private data and evaluate their accuracy. The main limitation: RAG quality depends heavily on chunking strategy and embedding choice. This course covers the fundamentals but real production RAG requires more optimization.

DeepLearning.AI's short courses, including this one, have been taken by over 6 million learners across its platform and Coursera (source: deeplearning.ai/about/).

Editor’s take

Best for
Developers who already have a basic retrieval-augmented chatbot and find its answers drift off topic. Basic Python is enough to follow it.
What you will be able to build
With LlamaIndex and TruEra you build an advanced RAG pipeline, then try two retrieval methods, sentence-window retrieval and auto-merging retrieval, and compare them against the baseline.
The hardest part
The 42-minute lesson on the RAG triad: context relevance, groundedness and answer relevance. Keeping three separate scores in your head and deciding which one is failing is the core skill here.
What to take next
Lesson 5 of Microsoft's AI Agents for Beginners covers agentic RAG, where an agent decides when and how to retrieve. AI Agents for Beginners →

Written from the course’s own syllabus and our review criteria.

About This Course

A focused course on Retrieval-Augmented Generation (RAG). Covers advanced chunking, sentence-window retrieval, auto-merging retrieval, and evaluation with TruLens. Essential for any AI engineer. Free.

Course Details

Duration
2.1h
Certificate
No
Cost
Free
All Courses

Frequently Asked Questions

Is this course free?

Yes, free on deeplearning.ai.

What is RAG?

Retrieval-Augmented Generation: fetch relevant documents, then pass them to the LLM with the question. It's how you give AI access to your private knowledge base.

What tools does it use?

LlamaIndex and Qdrant (a vector database), with OpenAI for the language model.

After this, what's next?

Build a RAG system on your own data. Experiment with chunking, embedding models, and retrieval strategies.

How does RAG compare to fine-tuning?

RAG is cheaper, faster to update, and works for retrieval tasks. Fine-tuning changes the model's behavior and is harder to update.

More Generative AI Courses

Generative AIIntermediate

Hugging Face LLM Course

Learn to build and deploy with transformers and large language models in this 12-chapter course from Hugging Face. You'll start with NLP fundamentals, then move into modern LLM techniques: tokenization, fine-tuning, reasoning models, and building shareable demos. By the end, you'll know how to use pre-trained models, customize them on your own data, and integrate them into real applications. Best if you have some Python experience; the course assumes basic familiarity with machine learning. Fair warning: LLM chapters move fast, so budget time for rereading.