Back to Retrieval Augmented Generation (RAG)
DeepLearning.AI

Retrieval Augmented Generation (RAG)

Retrieval Augmented Generation (RAG) improves large language model (LLM) responses by retrieving relevant data from knowledge bases—often private, recent, or domain-specific—and using it to generate more accurate, grounded answers. In this course, you’ll learn how to build RAG systems that connect LLMs to external data sources. You’ll explore core components like retrievers, vector databases, and language models, and apply key techniques at both the component and system level. Through hands-on work with real production tools, you’ll gain the skills to design, refine, and evaluate reliable RAG pipelines—and adapt to new methods as the field advances. Across five modules, you'll complete hands-on programming assignments that guide you through building each core part of a RAG system, from simple prototypes to production-ready components. Through hands-on labs, you’ll: - Build your first RAG system by writing retrieval and prompt augmentation functions and passing structured input into an LLM. - Implement and compare retrieval methods like semantic search, BM25, and Reciprocal Rank Fusion to see how each impacts LLM responses. - Scale your RAG system using Weaviate and a real news dataset—chunking, indexing, and retrieving documents with a vector database. - Develop a domain-specific chatbot for a fictional clothing store that answers FAQs and provides product suggestions based on a custom dataset. - Improve chatbot reliability by handling real-world challenges like dynamic pricing and logging user interactions for monitoring and debugging. - Develop a domain-specific chatbot using open-source LLMs hosted by Together AI for a fictional clothing store that answers FAQs and provides product suggestions based on a custom dataset. You’ll apply your skills using real-world data from domains like media, healthcare, and e-commerce. By the end of the course, you’ll combine everything you’ve learned to implement a fully functional, more advanced RAG system tailored to your project’s needs.

Status: Application Security
Status: Embeddings
IntermediateCourse31 hours

Featured reviews

BC

5.0Reviewed Aug 1, 2025

Great step-by-step introduction on RAG systems and get deeper understanding of its components.

SK

4.0Reviewed Aug 31, 2025

explains the key concepts very well. code examples are also good to build on the concepts

GD

5.0Reviewed Oct 6, 2025

Great course! All the information you need for later, go deep and practice.

MY

5.0Reviewed Jun 3, 2026

absolutely amazing course, great instructor with great explanation, and very very amazing slides, this is by far my favorite deeplerning.ai course

MM

5.0Reviewed Jan 27, 2026

Very good introduction to the concepts and principals of RAG, with notebooks to demonstrate the concepts.

SB

4.0Reviewed Nov 12, 2025

Really interesting ! However the notebooks contained a lot of verbose code , in which we only change few lines of code. Appart from that , perfect !

P

5.0Reviewed Aug 14, 2025

The content is excellent, and Zain explains everything with calm clarity and a well-structured approach.

AZ

5.0Reviewed Nov 8, 2025

Excellent course. It covers every important detail of RAG systems with clarity, the instructor is amazing, and it provides a solid foundation for anyone looking to understand or build RAG pipelines

EC

5.0Reviewed Oct 14, 2025

This was quite a whirlwind tour. It be great to have some follow courses, e.g., on Graph RAG as compared with PDF RAG.

MB

5.0Reviewed Aug 31, 2025

Excellent course, with detailed explanation of topics with practical guidance

CM

5.0Reviewed Oct 9, 2025

Truly valuable and concise content. I greatly appreciate the clarity and organization of the topics.

D

5.0Reviewed Nov 4, 2025

This was really helpful in understanding the concepts and applications of RAG