Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Master RAG: Ultimate Retrieval-Augmented Generation Course
Rating: 4.4 out of 5(1,189 ratings)
6,434 students

Master RAG: Ultimate Retrieval-Augmented Generation Course

Learn RAG for LLMs and Advanced Retrieval Techniques | LangChain and Embeddings | Multi-Agent RAG | RAG Pipelines
Last updated 12/2024
English

What you'll learn

  • Understand the Fundamentals of Retrieval-Augmented Generation (RAG)
  • Explore advanced techniques to optimize and fine-tune the RAG pipeline
  • Experiment with the levels of Text splitting (simple to complex) with examples to improve the retrieval process
  • Learn to handle multiple document types to prep data for the LLM (unstructured(dot)io)
  • Experiment with text splitters, Chunking strategies and optimization techniques
  • Develop a comprehensive project: A multi-agent LLM-driven application using LangGraph
  • Enhance RAG systems with pre-retrieval and post-retrieval optimization techniques and learn retrieval optimization with Query Transformation and Decomposition

Course content

7 sections62 lectures4h 55m total length
  • Skills & Project requirements3:14

    Dive into the world of Generative AI with our advanced course on Retrieval Augmented Generation (RAG) and Large Language Models (LLMs). This course is designed for those with a background in web development and a basic understanding of Python. We'll guide you through setting up your development environment using Visual Studio Code, an integrated development environment (IDE) with various functionalities. You'll learn how to create and activate a virtual environment, install necessary dependencies and packages, and start your projects on Windows and Mac operating systems. We'll explore using GitHub Copilot for auto-completion and in-editor chat for prompt assistance. You'll also learn how to use the RAG pipeline, vector databases, and embeddings in your projects. This course offers a comprehensive walkthrough of using Retrieval Augmented Generation and Large Language Models, focusing on specific data and end-to-end optimization.

  • Development Environment Setup & Course Files3:55

    This lecture provides a step-by-step walkthrough of setting up a Python project, from installing Python and creating a virtual environment to adding an API key and installing necessary packages. Learn how to use the OpenAI Python SDK and understand the role of libraries like Colorama and Python.env in enhancing your project's functionality. The lecture also introduces the concept of Generative AI and its applications, including chatbots and information retrieval. By the end of this lecture, you'll be well-equipped to handle Python projects, optimize the use of LLMs, and understand the specific data requirements for RAG.

  • Download the Starter Project0:16
  • Integrate OpenAI into a Web Project (Quickstart)5:50

    This lecture provides a step-by-step walkthrough on creating an OpenAI account, generating an API key, and interacting with the OpenAI platform. You will learn how to set up your development environment, install the OpenAI Python library, and send API requests to interact with language models. The lecture also covers using vector databases in information retrieval and the application of generative AI in data science and machine learning. By the end of this lecture, you will have a solid understanding of RAG and LLMs and be equipped with the skills to advance your career in machine learning and AI development.

  • Integrate OpenAI into a Web Project (Quickstart) : send first API request5:54

    This lecture will guide you through making an API request, creating chat completions, and initializing your clients with OpenAI. You'll learn how to interact with language models, provide detailed instructions for optimized output, and understand the response format. We'll also explore using embeddings to represent text in vector form, enabling information retrieval and similarity search. This course will also introduce you to the various capabilities of large language models (LLMs), including text generation, function calling, fine-tuning, image generation, text-to-speech, and moderation. By the end of this lecture, you'll be well-versed in using RAG for various applications, including chatbots and specific data walkthroughs.

Requirements

  • Basics web development and programming skills (1-2 xp)
  • Python programming Language (1-2 xp)
  • Basic command line operations
  • Latest version of Python (3.7+)
  • A Code Editor (recommanded : Visual Studio Code)
  • One first experience with building LLM-driven applications

Description

Welcome to "Master RAG: Ultimate Retrieval-Augmented Generation Course"!

This course is a deep dive into the world of Retrieval-Augmented Generation (RAG) systems. If you aim to build powerful AI-driven applications and leverage language models, this course is for you! Perfect for anyone wanting to master the skills needed to develop intelligent retrieval-based applications.

This hands-on course will guide you through the core concepts of RAG architecture, explore various frameworks, and provide a thorough understanding and practical experience in building advanced RAG systems.


Enroll now and take the first step towards mastering RAG systems!


# What You'll Learn:


  • Development of LLM-based applications: Understand the core concepts and capabilities of Large Language Models (LLMs) and explore high-level frameworks that facilitate powered by retrieval and generation tasks,

  • Optimizing and Scaling RAG Pipelines: Learn best practices for optimizing and scaling RAG pipelines using LangChain, including indexing, chunking, and retrieval optimization techniques,

  • Advanced RAG Techniques: Enhance RAG systems with pre-retrieval and post-retrieval optimization techniques and learn retrieval optimization with query transformation and decomposition,

  • Document Transformers and Chunking Strategies: Understand strategies for smart text division, handling large datasets, and improving document indexing and embeddings.

  • Debugging, Testing, and Monitoring LLM Applications: Use LangSmith to debug, test, and monitor LLM applications, evaluating each component of the RAG pipeline.

  • Building Multi-Agent LLM-Driven Applications: Develop complex stateful applications using LangGraph, making multiple agents collaborate on data retrieval and generation tasks.

  • Enhanced RAG Quality: Learn to process unstructured data, extract elements like tables and images from PDF files, and integrate GPT-4 Vision to identify and describe elements within images.


# What is Included?

1. Getting Started: Introduction and Setup

  • Python Development Environment Setup

  • Implement basic to advanced RAG pipelines

  • Quickstart: Building Your First LLM-Powered Application using OpenAI

    • Step-by-step OpenAI Guide to creating a basic application integrating the ChatOpenAI API for text and message generation

2. RAG: From Native (101) to Advanced RAG

  • Key benefits and limitations of using LLMs

  • Overview and understanding of the RAG pipeline and multiple use cases

  • Hands-on project: Implement a basic RAG Q&A system using LLMs, LangChain, and the FAISS vector database

  • [Project] - Build end-to-end RAG solutions using tools like FAISS and ChromaDB

3. Advanced RAG Techniques & Strategies

  • Enhance RAG systems with pre-retrieval and post-retrieval optimization techniques

  • Indexing and chunking optimization techniques

  • Retrieval optimization with query transformation and decomposition

4. Optimized RAG: Document Transformers & Chunking Strategies

  • Strategies for smart text division to handle large datasets and scaling applications

  • Improve document indexing and embeddings

  • Experiment with commonly used text splitters:

    • Split into chunks by characters with a fixed-size parameter

    • Split recursively by character

    • Semantic chunking with LangChain to split into sentences based on text similarity

5. LangSmith: Debug, Test, and Monitor LLM Applications

  • Evaluate each component of the RAG pipeline

  • Develop a comprehensive project: A multi-agent LLM-driven application using LangGraph

6. Enhanced RAG Quality: Conventional vs. Structured RAG

  • Learn to process unstructured data to facilitate integration and preparation for LLMs

  • Practice with a project aimed at extracting elements like tables and images from PDF files and integrating GPT-4 Vision to identify and describe elements within images

Bonus materials: Assessment questions, downloadable resources, interactive playgrounds (Google Colab)


# Who is This Course For?


  • Python Developers: Individuals who want to build AI-driven applications leveraging language models using high-level libraries and APIs

  • ML Engineers: Professionals looking to enhance their skills in RAG techniques

  • Students and Learners: Individuals eager to dive into the world of RAG systems and gain hands-on experience with practical examples

  • Tech Entrepreneurs and AI Enthusiasts: Anyone seeking to create intelligent, retrieval-based applications and explore new business opportunities in AI

Whether you’re a beginner or an advanced practitioner, this course will elevate your capabilities in constructing intelligent and efficient RAG pipelines with case studies and real-world examples.

This course offers a comprehensive guide through the main concepts of RAG architecture, providing a structured learning path from basic to advanced techniques, ensuring a robust understanding to gain practical experience in building LLM-powered apps.

Start your learning journey today and transform the way you develop retrieval-based applications!


Who this course is for:

  • Python developers & ML Engineers who want to build AI-driven applications leveraging LLMs
  • Students and Learners willing to dive into RAG implementations and gain hands-on experience with practical examples
  • Tech Entrepreneurs and AI Enthusiasts seeking new learning and business opportunities in AI