See all courses

AI Engineering: Retrieval Augmented Generation (RAG) for LLMs

Thrive in the AI era with this hands-on course that teaches you to build better AI applications using one of the most important AI techniques used in the real-world to supplement an AI model's knowledge with proprietary or new information: Retrieval Augmented Generation (RAG).

20 hours 7 projects 185 + lessons

Rated 4.8 out of 5 on Trustpilot

Rated 4.8 out of 5 on Trustpilot

32 Days

Average time students take to complete this course.

instructor
Taught by: Diogo Resende
Last updated: April 2026
Our students are getting hired by top companies. We can help you too.

What you'll learn

  • Combine generative AI models with Retrieval Augmented Generation to build smarter AI systems
  • Use OpenAI APIs for text generation and processing unstructured data
  • Master FAISS for efficient similarity searches in massive datasets
  • Apply prompt engineering techniques for optimal AI responses
  • Build real-world AI projects like chatbots and financial analysis tools
  • Explore advanced RAG concepts like multimodal and agentic RAG

What Is An AI Engineer?

The short version is that an AI Engineer works on the entire lifecycle of an AI application - that is, an application that utilizes AI at its core. An AI Engineer takes AI models, including Large Language Models, and customizes them to their needs.

(If you want the long version, check out our blog post here)

That requires everything from building models using custom datasets, to training and tuning models, to deploying models and scaling them using cloud technologies.

The role is growing like wildfire, but it's still evolving and will no doubt continue evolving as the AI landscape changes.

What Is Retrieval Augmented Generation (RAG)?

Have you ever wondered why some AI systems can feel limited, giving answers that seem a bit generic or off-target? Well that's because they're limited to the knowledge in their training data.

And that's a lot of data. But it's not everything. It doesn't include private data, nor does it include recent data that has been created since the model was trained.

Retrieval-Augmented Generation, or RAG, addresses this by supplementing AI models with that private or new information.

Instead of relying only on what it was trained on, RAG retrieves up-to-date, relevant information from a database or document.

Here’s how it works: the system first finds the most relevant pieces of information for a given question (retrieval). Then, it uses a language model to generate a response based on that information (generation). That's why it's called retrieval-augmented generation!

The result is an AI that combines the best of both worlds: real-time access to external knowledge and the ability to express it clearly.

Let's do an example.

Picture this: You’re browsing a clothing store’s website, looking for a specific jacket in your size and favorite color, but you’re not sure if it’s in stock. Instead of clicking through endless filters, a chatbot powered by RAG can make this effortless.

When you ask, “Do you have the blue jacket in a medium size?” the RAG system retrieves real-time inventory data from the store’s database. It finds the exact details, like availability in nearby stores or estimated delivery dates - information that would not be in the AI model's training data. And then it uses that information to generate a useful response: “Yes, we have it in stock! You can pick it up at our downtown location or have it delivered by Friday.”

This kind of dynamic, accurate interaction makes shopping easier and faster, ensuring you get the answers you need without the hassle.

RAG is increasingly used in AI applications like chatbots, research tools, and data analysis systems, where accuracy and context are essential. It’s a practical way to make AI more reliable and useful in complex scenarios.

Why This RAG Course?

Well, because it's the best, most up-to-date, and practical AI Engineering Bootcamp course online that teaches you real-world RAG skills and that lets you get hands-on so that you can actually use your skills in the real-world.

But of course we're biased. So here's a breakdown of what's covered in this RAG Bootcamp course so that you can make up your own mind:

1. Basics of Retrieval Systems: This section lays the foundation for understanding how to search and retrieve information from large datasets. You will learn how to prepare text data for retrieval, explore different retrieval models (Boolean, vector space, probabilistic), and understand the concepts of indexing, querying, and ranking. The goal is to equip you with the skills to efficiently find relevant information within massive datasets.

2. Basics of Generation Models: Building on the retrieval concepts, this section introduces the principles of text generation using AI. You will learn about the transformer architecture, which has revolutionised natural language processing, and how attention mechanisms within transformers allow models to focus on the most relevant parts of the input. You will also gain an understanding of data preparation and training techniques for these models.

3. Introduction to RAG: This section introduces the core concepts of Retrieval-Augmented Generation, explaining how it combines the strengths of retrieval and generation models to create more accurate, contextually relevant, and comprehensive responses. You will learn about the basic RAG architecture and understand why it is becoming increasingly important in various AI applications.

4. Working With The OpenAI API: This section focuses on teaching you how to use OpenAI's API for accessing and utilizing their powerful AI models, particularly for text generation and image processing. You will learn about obtaining API keys, setting up your environment, crafting effective prompts, tuning parameters, and understanding the system prompt's influence on the AI's behaviour.

5. RAG with OpenAI Implementation: This section brings together everything you have learned so far to teach you how to build fully functional RAG systems using OpenAI models. You will integrate retrieval and generation components, explore advanced RAG concepts like multi-modal RAG, and use the OpenAI API to create intelligent systems capable of handling complex tasks.

6. Working with Unstructured Data: This section delves into the challenges and techniques for working with unstructured data, which constitutes a vast majority of real-world information. You will learn how to process and extract information from various formats like PDFs, Word documents, PowerPoint presentations, EPUBs, images, and Excel data. This section equips you with the tools to unlock the value hidden within unstructured data.

7. Multimodal RAG: Building on your understanding of RAG, this section introduces the concept of multi-modal RAG, which extends the capabilities of RAG to handle data from multiple modalities, such as text and images. You will learn how to build systems that can integrate different data types to generate richer and more contextually relevant responses.

8. Agentic RAG: This section introduces the concept of agentic RAG, focusing on building AI agents that can interact with users, handle tasks, and make decisions autonomously. The course covers agent state management, workflows, and integrating retrieval and generation into agentic systems. This section represents the cutting edge of RAG development and explores how AI agents can dynamically respond to user requests and complete complex tasks.

What Else Should I Know?

By becoming a ZTM member you'll not only get access to all our bootcamp courses, bytes, and projects.

But you’ll also get to join our exclusive live online community classroom to learn alongside thousands of students, alumni, mentors, TAs and Instructors.

Most importantly, you'll be learning from an industry professional (Diogo) that has actual real-world experience with AI and RAG. He teaches you the exact strategies and techniques he uses in his role.

Finally, as with all ZTM courses, this course is a living thing. It will be constantly updated as the landscape changes so you can use it as your go-to guide for building smarter AI applications using RAG both now and throughout your career.

Join 1,000s of Zero To Mastery graduates that have gotten hired and are now working at companies like Google, Tesla, Amazon, Apple, IBM, JP Morgan, Facebook, Shopify + other top tech companies.

They come from all different backgrounds, ages, and experiences. Many even started as complete beginners.

So there's no reason it can't be you too.

And you have nothing to lose. Because you can start learning right now and if this course isn't everything you expected, we'll refund you 100% within 30 days. No hassles and no questions asked.

Who You Will Learn With

You're getting more than just a course

Our instructors, TAs, Mentors, Alumni, and fellow students go above and beyond to help guide you and ensure you're on the right path to achieve your goals. Our private ZTM Discord server is a key factor in taking your skills, confidence and career to the next level.

What you'll build

The best way to learn about AI is to actually build with AI. Not just watch endless tutorials. That's why a key part of this course is implementing RAG into real-world projects that you'll build. Plus they'll look great on your portfolio.

RAG System for a Digital Cookbook

RAG System for a Digital Cookbook

Build an AI system that processes a cookbook PDF, extracts recipes, and creates a retrieval model to answer detailed cooking questions with natural responses.

RAG System for Financial Analysis using Earnings Reports

RAG System for Financial Analysis using Earnings Reports

Develop a system to analyze financial reports and earnings calls by processing text and audio data, enabling users to retrieve and generate insights from complex datasets.

RAG System for PDFs

RAG System for PDFs

Learn to process PDF data and build a retrieval system that can answer user queries based on the document's content.

AI-Powered Digital Waiter using RAG

AI-Powered Digital Waiter using RAG

Create an AI agent that can interact with restaurant customers like a human waiter. Your AI agent will greet customers, understand their questions, retrieve relevant information, and generate thoughtful responses.

RAG System for Customer Feedback Analysis

RAG System for Customer Feedback Analysis

Build a RAG system that can analyze customer feedback from various sources, like reviews and surveys, to extract valuable insights. You'll learn to process this data, extract key information, and categorize it to improve products or services.

+ 2 more exciting projects to practice your new skills

Course curriculum

To make sure this course is a good fit for you, you can start learning RAG (Retrieval Augmented Generation) for free right now by clicking any of the PREVIEW links below.

20 sections185 lessons20 hours total length

Section 1: Introduction to Retrieval Augmented Generation (RAG) Systems

7 lectures · 6min
7 lectures · 6min

Course Outline·3:10

3:10
PREVIEW

Exercise: Meet Your Classmates and Instructor

PREVIEW

Meet Rubber Ducky! Your AI Course Assistant using RAG·3:10

3:10
PREVIEW

Link to Your AI Course Assistant

PREVIEW

Understanding Your Video Player

PREVIEW

[ACTION] Download the Course Resources

PREVIEW

Set Your Learning Streak Goal

PREVIEW

PART A: BASICS OF PROMPT ENGINEERING, PYTHON AND OPENAI API

1 lecture · 2min
1 lecture · 2min

Section 2: Prompt Engineering Basics

9 lectures · 45min
9 lectures · 45min

Section 3: Understanding LLMs Part 1

2 lectures · 19min
2 lectures · 19min

Section 4: Python for RAG and GenAI

16 lectures · 1hr 17min
16 lectures · 1hr 17min

Section 5: Understanding LLMs Part 2

1 lecture · 6min
1 lecture · 6min

Section 6: OpenAI API

11 lectures · 1hr 6min
11 lectures · 1hr 6min

Section 7: Understanding LLMs Part 3

1 lecture · 8min
1 lecture · 8min

Section 8: CAPSTONE PROJECT: Deploy With Lovable

6 lectures · 28min
6 lectures · 28min

PART B - RAG

1 lecture · 4min
1 lecture · 4min

Who is Zero To Mastery for?

You'll fit right in if:

You're struggling to make progress using free tutorials that aren't giving you the structure or clear path to achieving your goals.
You don't want to learn alone. You want personalized feedback, support, and motivation from instructors and mentors and want to be part of a supportive community of like-minded individuals.
You want to learn by doing. You're excited to embrace the struggle of making mistakes that comes with building fun real-world projects you'll be proud of.
You're sick of outdated & boring tutorials. We pride ourselves on having the most up-to-date (and fun!) courses in the industry so that you're not wasting your time and only learning what matters right now.
You can't afford to spend $8,000+ on over priced bootcamps and colleges. We got you. We'll help you go from zero to hired for less than the cost of a cup of coffee a day.

We're not for you if:

You're just going to watch the lessons and take no action. Our courses are all about getting your hands dirty with exercises and putting what you're learning into action by building fun and impressive real-world projects.
You're not ready to invest in yourself or just looking for the cheapest way to learn. If that's you, no problem, use our free Learn to Code + AI & Get Hired guide.
You don't think fundamentals matter anymore because AI can do everything for you. Understanding the fundamentals and how things really work will always be important.
You think AI is going to replace you and think there's nothing you can do about it. Well... if you keep wasting time not learning AI tools & skills, you're probably right. Or you embrace them, and 2x your productivity (and probably income too!).

Meet your instructor

Your instructor (Diogo) isn't just an expert with years of real-world professional experience. He has been in your shoes. He makes learning fun. He makes complex topics feel simple. He will motivate you. He will push you. And he will go above and beyond to help you succeed.

Diogo Resende

Hi, I'm Diogo Resende!

Diogo has been working for over a decade as a data scientist. He loves harnessing the power of data and analytics to understand what has happened, what will happen next, and how to use that information to your advantage.

SEE MY BIO & COURSES

Diogo Resende

Data Scientist

Frequently Asked Questions

Are there any prerequisites for this course?

  • Basic Python knowledge is required. Don't have that? You can start learning today by taking our Python Bootcamp course!

Who is this course for?

  • Anyone who wants a step-by-step guide to learning to use RAG to build better, smarter AI applications and be able to get hired as an AI Engineer
  • Anyone who wants to launch or accelerate their career in AI
  • Students, Developers, Machine Learning Engineers, Data Scientists, and AI Engineers who want to demonstrate practical, professional-level AI skills by actually building and deploying real models
  • Anyone looking to expand their knowledge and toolkit when it comes to AI, Machine Learning and Deep Learning
  • You're still confused and stuck after taking online RAG tutorials
  • You're frustrated with your progress with all of the beginner RAG courses out there that don't go beyond the basics and don't give you real-world practice or skills you need to actually get hired

Do you provide a certificate of completion?

We definitely do and they are quite nice. You will also be able to add Zero To Mastery Academy to the education section of your LinkedIn profile as well.

Are there subtitles?

Yes! We have high quality subtitles in 6 different languages: English, Spanish, French, German, Arabic, and Hindi.

You can even adjust the text size, color, background and more so that the subtitles are perfect just for you!

Still have more questions about the Academy?

Still have more questions specific to the Academy membership? No problem, we answer some more here.

What students are saying

Our courses and community have helped 1,000s of Zero To Mastery students go from zero to getting hired to levelling up their skills and advancing their careers to new heights.

Rated 4.8 out of 5 on Trustpilot

Learn the skills to stand out and get hired. In the age of AI.

Choose your currency:
$ USD US Dollar

This Course Only

US $199
One payment. Lifetime access.
GET THIS COURSE

Master this skill, on your schedule.

Lifetime access to this course
All updates included at no extra cost
Certificate of completion
500,000+ member community (Discord)
Personalized ZTM Passport

BEST VALUE

PRO PLAN

Pay yearly
Pay monthly
$25 / month

Paid yearly at $299$588/y49% OFF

Get Annual Plan

Build a high-value, future-proof career. For less than $1/day.

Unlimited access to all courses
Guided career paths (beginner to job-ready)
500,000+ member community (Discord)
Live career coaching sessions with mentors
Completion certificates for every course
Personalized ZTM Passport
Private LinkedIn networking group
Priority support

Lifetime ACCESS

$1,299
Only pay once, ever
Get Lifetime Access

Invest in your future — pay once and you’re covered for whatever comes next.

Includes everything in PRO
All new courses and course updates automatically included at no extra cost
No subscriptions. No renewals. Just unlimited learning for life.
Risk Free Pricing
100% Risk Free

We know you'll love ZTM. That's why we provide a no-hassle, 30-day money-back guarantee.

Students also take these courses