What you will learn

  • Learn the building blocks to build effective RAG systems

  • Apply best practices and popular methods to build and enhance complex RAG systems

  • Learn a systematic framework for how to improve RAG systems by implementing diverse use cases

Course curriculum

    1. Course Introduction

    2. Course Tips

    1. What is RAG?

    2. RAG Components

    3. Why do we need RAG?

    4. RAG Common Use Cases

    1. Introduction to Flowise AI

    2. Create a Basic Chatflow

    1. Introduction to RAG Architecture

    2. Chunking

    3. Embedding Model

    4. What is Semantic Search?

    5. Retriever

    6. Generator & RAG Enhancements

    1. Important Flowise Cloud Update

    2. Build a RAG System from Scratch

    1. RAG Chat Assistant

    2. Build a Document Store

    3. Build a RAG Chat Assistant

    4. Query Expansion

About this course

  • 30 lessons
  • 2.5 hours of video content
  • Projects to apply learnings
  • Earn a Certificate of Completion
  • Beginner

Join Pro to Get Started

Get unlimited access to all our AI courses, special tutorials, certificates, live webinars, workshops, office hours, dedicated support, and community discussions.

Instructor(s)

Elvis Saravia, Ph.D.

Founder and Lead Instructor

Elvis is a co-founder of DAIR.AI, where he leads all AI research, education, and engineering efforts. Elvis holds a Ph.D. in computer science, specializing in NLP and language models. His primary interests are training and evaluating large language models and developing scalable applications with LLMs. He co-created the Galactica LLM at Meta AI and supported and advised world-class teams like FAIR, PyTorch, and Papers with Code. Prior to this, he was an education architect at Elastic where he developed technical curriculum and courses on solutions such as Elasticsearch, Kibana, and Logstash.

OVERVIEW

This course focuses on building effective and robust retrieval augmented generation (RAG) applications. Students will learn the fundamental building blocks for building RAG systems and the best practices for creating advanced RAG applications. The course also covers advanced concepts such as Agentic RAG systems.

After completing the course, students will have a solid understanding of RAG systems and acquire best practices for building advanced RAG applications in different domains.

PREREQUISITES

If you are not familiar with advanced prompting techniques for LLMs, we strongly recommend completing both the Introduction to Prompt Engineering and Advanced Prompt Engineering courses (also available to all Pro members).

The main tool you will use is Flowise AI (a popular no-code tool to build advanced RAG-based workflows and agentic workflows), therefore, no programming is required. More details and instructions about how to access and install Flowise AI are provided in the course.

SYLLABUS

Course Introduction

  • Get a comprehensive overview of Retrieval Augmented Generation (RAG), its fundamental building blocks, and the course objectives.
  • Learn how this hands-on course will guide you through building and enhancing complex RAG systems from scratch.


Introduction to RAG

  • Gain a foundational understanding of what a RAG system is and how it combines a Large Language Model with external knowledge.
  • Learn when to use a RAG system for knowledge-intensive tasks like customer support, and explore common real-world use cases.


Introduction to Flowise AI

  • Get started with Flowise AI, the open-source, no-code tool used throughout the course to build, test, and deploy RAG pipelines.
  • Follow a step-by-step guide to install Flowise AI locally and prepare your environment for the hands-on projects.


RAG Architecture

  • Learn about the core components of a RAG pipeline, including the retriever and the generator.
  • Master fundamental concepts like document chunking, embedding models for vector representation, and vector stores that power semantic search.


Build Your First RAG System

  • Apply your knowledge to a hands-on project by building your first RAG system from scratch in Flowise AI.
  • Create an educational chatbot that can answer questions about a YouTube lecture by loading, chunking, and indexing its transcript in a vector store.


Chat Assistant with RAG

  • Build a practical chat assistant for an online knowledge base, using the course's Prompt Engineering Guide as the data source.
  • Learn to create a document store by scraping a live website, processing the HTML into Markdown, and indexing it for retrieval.
  • Discover how to enable source documents in your RAG system's response to allow users to verify information.


Advanced RAG

  • Enhance your RAG systems with advanced techniques like chain-of-thought prompting to improve the factuality and reasoning of your chatbot.
  • Learn to use prompt chaining to split the generation process into distinct steps for reasoning, extraction, and refinement.
  • Implement query expansion to improve retrieval accuracy by generating multiple variations of a user's question.


Agentic RAG

  • Discover Agentic RAG, a cutting-edge approach that uses an agent to route user queries to different tools, including your document store, a calculator, or other chains.
  • Learn how function calling enables an agent to interact with external tools and orchestrate complex, multi-step tasks.
  • Build an agentic RAG system that upgrades a food chatbot to not only answer questions but also process and confirm user orders.


Deploying RAG Apps

  • Learn how to deploy your RAG applications to a live, public URL using the online version of Flowise AI.
  • Discover how to configure your deployed chatbot to collect user feedback, allowing for continuous iteration and improvement.


Conclusion

  • Recap the key concepts learned, from basic RAG architecture to advanced agentic RAG systems.
  • Receive advanced tips on how to continue improving your RAG applications, including model selection, evaluation, and safety considerations.


Here's a subset of companies whose employees have benefitted from our courses:

Accrete, Airbnb, Alston & Bird, Amazon, Apple, Arm, Asana, Bank of America, Belong For Me, Biogen, Brilliant, Carebound, CDM, CentralReach, Centric Software, Chime, Coinbase, Digital Green, DoHQ, Elekta, Fidelity Investments, Fivecast, Fulcrum Labs, Google, Guru, Gretel, Harrison Insights, Intel, Intuit, Jina AI, JPMorgan Chase & Co, Khan Academy, KnowBe4, Lawyer.com, LinkedIn, LionSentry, MagmaLabs, MasterClass, Meta, Metopio, Microsoft, Moneta Health, Oracle, OpenAI, Rechat AI, RingCentral, Salesforce, Scale AI, Scribd, Space-O Technologies, Sun Life, TD Bank, TELUS Corporations, Trilogy, TTEC Digital, UniCredit, VaxCalc Labs, Vendr, Walmart, Wolfram Alpha, Zemoso Technologies, Zeplin

Reach out to [email protected] for any questions and team/student discounts.

Join Pro to Get Started

Get unlimited access to all our AI courses, special tutorials, certificates, live webinars, workshops, office hours, dedicated support, and community discussions.

What people are saying

“This course helped me understand the core components of RAG like chunking strategies, vector stores, retrievers, and how they work together. I used this foundation to build a multimodal chatbot that combines text and other data sources.”

Rahul Jain | Co-Founder & CEO at Pixeldust Technologies

Stay Updated!

Be the first to know about what's new in our Academy.

Thank You