Hands-On AI: Introduction to Retrieval-Augmented Generation (RAG)
39mBeginner2025-06-04
Authors

Yujian Tang
Course details
Retrieval-augmented generation (RAG) quickly separated itself as one of the most popular ways to leverage large language models (LLMs). Why? Because RAG patches up a critical problem in using LLMs for our own use cases. LLMs are trained on vast amounts of data, but they don't have access to the specialized data that we need for personal or business use cases, which makes them much more likely to hallucinate an answer. This is where RAG comes in. RAG uses embedding models and vector databases to store your data in a way that it can be used as context for LLMs. This course shows you what the different pieces of an RAG app are, how to use them, and how to build your own RAG app from scratch in Python.
Learning objectives
Build a retrieval-augmented generation application from scratch in Python.
Mix and match the different tools needed to build an RAG application—the vector database, embedding model, LLM, and separate frameworks.
Explain how to prepare data for an RAG application.
Learning objectives
Build a retrieval-augmented generation application from scratch in Python.
Mix and match the different tools needed to build an RAG application—the vector database, embedding model, LLM, and separate frameworks.
Explain how to prepare data for an RAG application.
Skills covered
Natural Language Processing (NLP)PythonArtificial Intelligence (AI)Open SourceOne-Off
Concepts
0. Introduction
- 01 - Hands-on RAG - Build powerful AI applications
- 02 - Using GitHub Codespaces and models
1. RAG Overview
- 03 - Architecture of a RAG app
- 04 - Introduction to LLM usage
- 05 - Introduction to embedding models
- 06 - Introduction to vector databases
- 07 - Demo - Calling an LLM
- 08 - Demo - Generating an embedding
- 09 - Demo - Using a vector database
- 10 - Challenge - Putting it all together
- 11 - Solution - Putting it all together
2. Beyond the Basics
- 12 - Understanding your RAG app with observability
- 13 - Begin optimizing your data ingestion
- 14 - Different embedding models
- 15 - Different ways to compare vectors
- 16 - Demo - Adding observability to RAG
- 17 - Challenge - Altered data ingestion
- 18 - Solution - Altered data ingestion
- 19 - Challenge - Different embedding models
- 20 - Solution - Different embedding models
- 21 - Challenge - Comparing results
- 22 - Solution - Comparing results
Conclusion
- 23 - Market overview - Available tools
- 24 - What's next
Related courses
- RAG, AI Apps, and AI Agents for Cybersecurity and Networking
- Build with AI: Create Custom Chatbots with n8n
- Hands-On AI: Building Your First Conversational AI Chatbot
- Build LLM Evaluation Applications with LangChain
- GraphRAG Essential Training
- Complete Guide to Evaluating Large Language Models (LLMs)
- Hands-On AI: Build an AI Chatbot with GPT-4o and Next.js
- Hands-On AI: Build Your Own GPTs