RAG, AI Agents and Generative AI with Python and OpenAI 2026

371 lectures38h 31m total44 articlesSubtitles & transcript search45 sections

Full lifetime access · picks up where you left off

Curriculum

45 sections · 415 lectures

01RAG and Generative AI with Python8 · 17m
  • RAG, AI Agents and Generative AI with Python and OpenAI Promotional VideoPreview1:31
  • Course Overview RAG, AI Agents and Generative AI with Python and OpenAI5:34
  • [ACTION] Get Your Course Materials RAG and Generative AI
  • RAG and Generative AI Course Assistant Link
  • Your RAG, AI Agents and Generative AI Course Assistant is Here6:35
  • Diogo's Introduction and Background2:30
  • Unlimited Updates and Enhancements 20261:16
  • Submit Your Update and Enhancement Requests Here
02Python for RAG and AI9 · 44m
  • Game for Python for RAG and AI2:05
  • Functions4:50
  • Exercise 13:44
  • Exercise 25:56
  • Exercise 35:03
  • Introduction to Classes5:07
  • Exercise 44:54
  • Exercise 54:50
  • Exercise 67:18
03PART A - INTRODUCTION TO RAG1 · 2m
  • Game Plan for Part A - Introduction to RAG1:48
04Your First RAG with Flowise20 · 1h 14m
  • Game Plan for Your First RAG4:12
  • RAG4:15
  • RAG
  • Overview of Flowise5:14
  • Getting an OpenAI API Key4:13
  • Building your First Chatbot7:28
  • Note on the Course Materials1:27
  • Setting up the Document Loaders4:23
  • Chunking3:23
  • Chunking
  • Embeddings3:46
  • Setting up the Embeddings3:32
  • Embeddings
  • Vector stores3:15
  • Prepare a Vector Store7:19
  • Set up the database5:39
  • Finalizing the Document Stores7:15
  • Vector Stores
  • Finishing the RAG8:11
  • RAG
05Scientific Literature Review - RAG1 · 5m
  • LongRAG5:22
06Prompt Engineering - System Message7 · 27m
  • Game Plan for Prompt Engineering - System Message4:27
  • What is the System Message4:18
  • System Message in the Playground7:03
  • Building on your first RAG4:11
  • CHALLENGE Presentation - Tell me your secrets7:01
  • Link to Game App
  • Tell Me Your Secrets Challenge
07Scientific Literature - LLMs3 · 24m
  • Understanding Transformers12:50
  • Attention Mechanisms6:17
  • Tokenization4:44
08Prompt Engineering - Temperature and Top P5 · 20m
  • What is the Temperature ant Top_p2:49
  • Playing Rock Paper Scissors and Rolling the Dice8:45
  • Top P4:57
  • Building on your First RAG3:52
  • Temperature and Top P
09Prompt Engineering Techniques1 · 3m
  • Prompt Engineering – Few-shot and Persona2:44
10Capstone Project - RAG3 · 18m
  • Challenge Presentation2:51
  • Challenge Solutions - Document Loading8:07
  • Challenge Solutions - Building the RAG7:30
11Introduction to RAG Practice Test1 · 0m
  • Introduction to RAG
12Mid Course Feedback2 · 1m
  • Would you help me0:53
  • Mid Course Feedback
13PART B - RAG WITH OPENAI API1 · 2m
  • Game Plan for Part B - RAG with OpenAI API2:00
14OpenAI API10 · 56m
  • Game Plan for OpenAI API3:50
  • OpenAI API for Text5:20
  • Python - Setting Up OpenAI API Key4:08
  • Python - OpenAI API Setup5:19
  • Python - Generating Text with OpenAI API8:22
  • Python - OpenAI API Parameters6:43
  • OpenAI API for Images5:13
  • Python - With Image URL6:05
  • Python - Assess My Python Course Thumbnail7:23
  • Key Learnings and Outcomes OpenAI API3:53
15CAPSTONE PROJECT GenAI for Customer Acquisition8 · 44m
  • Project Presentation GenAI for Customer Acquisition5:44
  • Python - OpenAI Setup6:56
  • Python - Processing Images for GenAI4:04
  • Python - System Prompt8:47
  • Python -.MenuItem Class7:59
  • Python - Exploring the Output3:45
  • Python - GenAI with All Images2:18
  • Python - Wrapping Up the OpenAI GenAI Project4:35
16RAG with OpenAI File Search24 · 2h 20m
  • Game Plan for RAG with OpenAI File Search2:21
  • Project Presentation - Build an Assistant for my Startup5:14
  • Vector Stores in OpenAI5:15
  • Python - Uploading Files to OpenAI4:19
  • Python - Vector Stores in OpenAI5:55
  • Python - Responses Endpoint with File Search11:55
  • Python - RAG system4:22
  • About the next videos2:02
  • Setting up on Cursor5:19
  • .env file2:26
  • Requirements and Virtual Environment9:09
  • Finishing the Requirements Installation3:56
  • Configuring the Streamlit Page16:18
  • Environment Secrets and Conversation Configuration5:39
  • Build the Sidebar Panel3:00
  • Finishing the User Interface5:40
  • Function to Prepare Inputs for OpenAI API6:27
  • Prepare OpenAI API Call functions4:13
  • Testing the App10:27
  • Debugging the App3:08
  • Displaying the User's Input4:24
  • Rendering all Messages11:18
  • GitHub Repository3:04
  • Deploying to Streamlit3:53
17PART C - RAG WITH UNSTRUCTURED AND MULTIMODAL DATA1 · 5m
  • Game Plan for RAG with Unstructured and Multimodal Data4:32
18RAG with Unstructured Data20 · 1h 49m
  • Game Plan for Handling Unstructured Data3:41
  • Introduction to Langchain Library7:39
  • Excel Data Best Practices for Data Handling6:58
  • Python - Initial Setup for Data Processing4:52
  • Python - Loading Data4:52
  • Python - Chunking7:08
  • FAISS4:18
  • Python - Developing a Retrieval System for Unstructured Data7:45
  • Python - Building a Generation System for Dynamic Content5:32
  • Python - Building Retrieval and Generation Functions10:46
  • Working with Word Documents5:04
  • Python - Setting Up Word Documents for RAG5:46
  • Working with PowerPoint Presentations4:55
  • Python - RAG with PowerPoint Data3:27
  • Working with EPUB Files5:10
  • Python - EPUB Setup for RAG3:23
  • Working with PDF Files4:34
  • Python - PDF Setup for RAG6:26
  • Python - RAG Implementation for PDF Files2:13
  • RAG with Unstructured Data Recap Key Learnings4:05
19Multimodal RAG21 · 2h 33m
  • Game Plan for Multimodal RAG3:48
  • Introduction to Multimodal RAG6:07
  • Python - Setup and Video Processing5:26
  • Python - Extracting Audio from Video8:59
  • Python - Compressing Audio Files4:27
  • Introduction to Whisper Model6:41
  • Python - Transcribing Audio with OpenAI Whisper10:34
  • Python - Extracting Frames from Video5:53
  • Introduction to Contrastive Learning5:25
  • Understanding the CLIP Model5:27
  • Python - Tokenizing Text for Multimodal Tasks8:30
  • Python - Chunking and Embedding Text11:43
  • Python - Embedding Images for Multimodal Analysis8:47
  • Understanding Cosine Similarity in Multimodal Contexts6:52
  • Python - Applying Contrastive Learning and Cosine Similarity10:57
  • Python - Visualizing Text and Image Embeddings11:48
  • Python - Query Embedding Techniques4:28
  • Python - Calculating Cosine Similarity for Query and Text12:27
  • Python - GenAI Model Setup for Multimodal Tasks5:07
  • Python - Building a GenAI Model7:20
  • Multimodal RAG Recap Key Learnings2:12
20CAPSTONE PROJECT Multimodal Data8 · 1h 13m
  • Project Presentation Starbucks Financial Data5:31
  • Python - Transcribing Audio with OpenAI Whisper12:16
  • Python - Embedding Transcription with CLIP7:41
  • Python - Converting PDF to Images6:00
  • Python - Embedding Images for Multimodal Analysis5:05
  • Python - Retrieval System17:40
  • Python - Preparing Context5:07
  • Python - Generative AI System13:10
21PART D - ADVANCED TOPICS IN RAG1 · 3m
  • Game for Part D - Advanced Topics in RAG2:47
22Knowledge Graph with LightRAG12 · 1h 9m
  • Game Plan for Knowledge Graphs with LightRAG2:21
  • Knowledge Graphs7:27
  • Knowledge Graphs vs Embeddings9:05
  • Python - LightRAG Setup2:40
  • LightRAG4:46
  • Python - Setting the Working Directory9:32
  • Python - Data Prep5:34
  • Python - Naive RAG7:07
  • Python - LightRAG5:12
  • Python - Knowledge Graph Visualization8:09
  • Python - Customizing Knowledge Graph3:51
  • Python - Local Knowledge Graph Visualization3:45
23Agentic RAG AI Agents for RAG14 · 1h 38m
  • Game Plan for Agentic RAG2:54
  • AI Agents4:56
  • Agentic RAG5:49
  • Python - Setup and Data Loading4:38
  • State Management and Memory in Agentic Systems8:13
  • Python - AgentState Class4:30
  • Python - Greeting The Customer4:52
  • Python - AI Agent that Checks the Question11:03
  • Python - AI Agent that Assesses the Validity of the question7:38
  • Python - Retrieving the Documents5:56
  • Python - AI Agent that Generates the Answer13:42
  • Python - AI Agent that Improves the Answer11:19
  • Python - Asking User For More Questions5:39
  • Agentic RAG Recap Key Learnings and Next Steps6:25
24RAGAS - Evaluating RAG25 · 2h 32m
  • Game Plan for RAGAS2:02
  • Assessing RAG with RAGAS6:46
  • Python - RAGAS Setup3:49
  • Python - Embedding and FAISS9:50
  • Python - RAG11:39
  • Synthetic Data3:52
  • Python - Generating Synthetic Data4:57
  • Python - Answering Synthetic Dataset6:29
  • Rouge Score6:22
  • Python - Rouge13:55
  • LLM-Based Assessment6:57
  • Python - Simple Criteria Score Part 15:33
  • Python - Simple Criteria Score Part 26:46
  • Python - Rubrics Score5:23
  • Factual Correctness5:56
  • Python - Factual Correctness5:49
  • Semantic Similarity5:20
  • Python - Semantic Similarity6:49
  • Context Precision3:30
  • Python - Context Precision6:35
  • Context Recall3:33
  • Python - Context Recall5:08
  • Response Relevancy4:55
  • Python - Response Relevancy6:41
  • Key Learnings and Outcomes RAGAS3:20
25PART E - AI AGENTS1 · 2m
  • Game for Part E - AI Agents2:18
26AI Agents with CrewAI11 · 1h 22m
  • Game Plan for AI Agents with CrewAI5:18
  • CrewAI14:24
  • Python - Get Serper API key2:35
  • Python - CrewAI Setup4:49
  • Python - CrewAI Tools5:13
  • Python - Research AI Agent7:45
  • Python - Research Task5:55
  • Python - Preparing the AI Crew5:09
  • Python - New Pricing Research Task + WebScraper Tool9:37
  • Python - Writer AI Agent and Task17:19
  • Key Learnings and Outcomes AI Agents with Crew AI3:53
27CAPSTONE PROJECT The AI Product Manager with CrewAI6 · 56m
  • CrewAI Agents Project Presentation4:20
  • Python - CrewAI Setup8:01
  • Python - AI Agent for Image Description8:12
  • Python - AI Agent for Critiques10:47
  • Python - AI UX Agent for Suggestions9:09
  • Python - AI Product Manager15:07
28AI Agents with OpenAI Swarm10 · 1h 6m
  • Game Plan for OpenAI Swarm and AI Agents4:50
  • AI Agents with OpenAI Swarm11:40
  • Python - OpenAI Swarm Setup7:07
  • Python - AI Agent for Greeting3:41
  • News API1:51
  • Python - Fetching the News8:50
  • Python - AI Agent to Fetch the News2:20
  • Python - The AI Main Agent5:06
  • Python - Orchestrating the AI Agents13:17
  • AI Agents with OpenAI Swarm - Key Learnings and Outcomes7:01
29OPENAI SWARM CAPSTONE PROJECT The Psychiatrist9 · 57m
  • Project Briefing - The Psychiatrist3:35
  • Python - OpenAI Swarm Setup3:26
  • Python - Motivational AI Agent4:30
  • Python - Therapist AI Agent7:03
  • Python - Hierarchical AI Agents8:24
  • Python - Pretty AI Messages14:06
  • Python - Wrapping up Pretty Messages4:11
  • Python - Counselor AI Agent5:37
  • Python - Crisis AI Agent5:39
30PART F - ADVANCED TOPICS IN GENERATIVE AI1 · 2m
  • Game for Part F - Advanced Topics in GenAI1:54
31Reasoning Models8 · 48m
  • Game plan for Reasoning Models3:42
  • OpenAI Verification1:49
  • Python - Setup2:07
  • Python - O3 Model and Response API7:56
  • Python - Developer Message and Final Output14:01
  • Prompt Engineering for Reasoning Models8:00
  • Overthinking6:01
  • Overthinking in Action4:49
32OpenAI API Image Endpoint7 · 29m
  • Game Plan for Image Generation2:20
  • Python - Setup1:15
  • Python - Generating 1 image8:22
  • Python - Configs and Directory4:45
  • Python - Editing one image6:11
  • Python - Editing 100 images2:37
  • Python - Creating a GIF3:56
33Fine-Tuning OpenAI GPT Models16 · 2h 15m
  • Game Plan For OpenAI API GPT Fine Tuning5:02
  • Why Fine Tuning with OpenAI GPTs9:38
  • Python - Fine-Tuning Setup6:59
  • Python - Preparing Data for Fine-Tuning9:59
  • How to do Fine Tuning with OpenAI GPTs15:21
  • Python - Generating the Prompt8:18
  • Python - Training and Test Set Split3:09
  • Python - Function to Structure Data7:43
  • Python - Creating JSONL Files5:14
  • Python - Function to Upload Data do OpenAI API6:59
  • Python - Fine Tuning a GPT Model9:19
  • Python - Checking if Fine-Tuning Job is Completed2:41
  • Python - Debugging the Fine Tuning Job7:35
  • Evaluating a Fine-Tuned Model11:47
  • Python - Testing the Fine-Tuned Model16:46
  • Fine-Tuning Recap and Key Learnings8:32
34MCP with OpenAI9 · 1h
  • Game Plan for MCP with OpenAI Responses9:06
  • MCP with OpenAI Setup3:41
  • Web-browsing with Fetch MCP Server11:18
  • MCP Approval3:54
  • Including Approval in MCP API call5:43
  • Specifying Approvals - Deepwiki - Part 17:33
  • Specifying Approvals - Deepwiki - Part 23:53
  • Authentification with Stripe MCP - Part 17:21
  • Authentification with Stripe MCP - Part 27:58
35End of Course Feedback1 · 0m
  • End of Course Feedback
36APPENDIX - Python Crash Course4 · 19m
  • Introduction to Python Course2:37
  • Python Crash Course Materials
  • Setting Up Google Colab5:02
  • Setting Up Jupyter Notebook11:13
37Python Essentials16 · 45m
  • Game Plan for Python Essentials1:56
  • Print Function5:06
  • Python - Print Function Part 18:44
  • Python - Print Function Part 22:25
  • Basic Print Statement
  • Solutions - Print with String Concatenation2:12
  • Print with String Concatenation
  • Solutions - Basic Print Statement1:51
  • Print Variables with F-String
  • Solutions - Print Variables with F-String3:24
  • Print on Multiple Lines
  • Solutions Print on Multiple Lines4:59
  • Input Function2:47
  • Python - Input Function6:11
  • Python Solutions - Input Function1:21
  • CHALLENGE Your Superhero Name4:31
38Book Review1 · 11m
  • Atomic Habits, by James Clear10:33
39Variable Types and Operators22 · 1h 9m
  • Game Plan for Variable Types and Operators6:58
  • Variable Types3:17
  • Python - Variable Types5:12
  • Variable Types Double Conversion
  • Solutions - Variable Type Double Conversion2:27
  • Arithmetic Operators4:18
  • Python - Arithmetic Operators6:39
  • Basic Arithmetic Operators
  • Solutions - Basic Arithmetic Operations4:48
  • Compound Interest Calculation
  • Solutions - Compound Interest Calculation4:50
  • Comparison Operators2:52
  • Python - Comparison Operators3:31
  • Basic Comparison Check Exercise 1
  • Solutions - Basic Comparison Check Exercise 10:50
  • Basic Comparison Check Exercise 2
  • Solutions - Basic Comparison Check Exercise 20:41
  • Basic Comparison Check Exercise 3
  • Solutions - Basic Comparison Check Exercise 31:33
  • CHALLENGE - Split Bill Calculator5:43
  • CHALLENGE Your Monthly Savings Plan Part 111:18
  • CHALLENGE Your Monthly Savings Plan Part 24:30
40If-else and Conditionals6 · 26m
  • Game Plan for If-else and Conditionals4:28
  • if-else Conditions5:57
  • Python - If-else Conditions5:32
  • Can You Vote
  • Solutions - Can you volte1:51
  • CHALLENGE - Berghain Club Bouncer8:05
41Python Intermediate37 · 3h 10m
  • Game Plan for Python Intermediate2:50
  • While Loops2:06
  • Python - While Loops6:11
  • Countdown Timer
  • Python Solutions - Countdown Timer3:21
  • Lists4:59
  • Python - Lists8:11
  • Expense Report
  • Python Solutions - Expense Report3:30
  • Fibonacci Numbers
  • Python Solutions - Fibonacci Numbers3:42
  • Randomization5:27
  • Python - Randomization7:02
  • Pick My Next Movie
  • Python Solutions - Pick My Next Movie5:03
  • CHALLENGE Read My Mind14:07
  • Dictionaries2:47
  • Python - Dictionaries4:54
  • EXERCISE Magical Pet Dictionary7:01
  • CHALLENGE - The Budgeting Mastermind15:35
  • For Loops2:43
  • Python - For Loops3:37
  • EXERCISE - Sum of Numbers7:41
  • EXERCISE - Count the Number of Characters6:45
  • CHALLENGE - Treasure Hunter12:51
  • Functions4:55
  • Python - Functions6:44
  • Adding Numbers
  • Python Solutions - Adding Numbers2:37
  • Counting Vowels
  • Python Solutions - Counting Vowels4:08
  • Fahrenheit to Celsius
  • Python Solutions - Fahrenheit to Celsius6:43
  • CHALLENGE - Recipe Converter19:35
  • Key Learnings and Outcomes Python Intermediate2:57
  • About The Next Video
  • Limitless, by Jim Kwik12:24
42PYTHON CAPSTONE PROJECT Virtual Escape Game4 · 48m
  • Project Presentation - Virtual Escape Game3:08
  • Python - Virtual Escape Game Solutions Part 111:22
  • Python - Virtual Escape Game Solutions Part 211:13
  • Python - ChatGPT Solutions22:21
43Introduction to Classes34 · 2h 59m
  • Game Plan for Introduction to Classes4:05
  • Understanding Classes and Objects6:34
  • Python - Creating Your First Class5:00
  • Python - Creating and Using Objects6:30
  • Class Attributes and Methods9:51
  • Python - Class Attributes and Methods8:58
  • Create a Team Summary Function
  • Solutions - Create a Team Summary Function6:16
  • Swap Pokémon Levels
  • Solutions - Swap Pokémon Levels4:59
  • Filter Pokémon by Type
  • Solutions - Filter Pokémon by Type6:36
  • Implement a Simple Pokémon Trainer Class
  • Solutions - Implement a Simple Pokémon Trainer Class5:20
  • HP Attribute, take_damage method and Fainting
  • Solutions - HP Attribute, take_damage and Fainting6:17
  • Object-Oriented Principles Inheritance and Polymorphism9:50
  • Python - Inheritance6:28
  • Create a Legendary Subclass with a Special Move
  • Polymorphism4:47
  • Python - Polymorphism14:32
  • Implementing Type-Specific Status Effects in take_damage
  • Solutions - Implementing Type-Specific Status Effects in take_damage8:16
  • OOP Principles Encapsulation and Abstraction14:09
  • Python - Protected Attributes4:17
  • Protected Attributes
  • Solutions - Protected Attributes5:58
  • Python - Privates Attributes6:10
  • Private Attributes
  • Solutions - Private Attributes6:56
  • Python - Abstraction11:56
  • Abstraction
  • Solutions - Abstraction12:13
  • Key Learnings and Outcomes - Introduction to Classes3:25
44PYTHON CAPSTONE PROJECT Bitte Eats5 · 46m
  • Project Presentation Bitte Eats1:55
  • Python - Items and Restaurants12:44
  • Python - Customer and Orders17:36
  • Python - Delivery Drivers and Testing8:27
  • Python - Subclasses for Delivery Drivers5:15
45What's Next1 · 2m
  • Do These 2 Things2:05