What you will learn

  • Learn how to apply advanced prompting techniques such as prompt chaining and ReAct with best practices

  • Build complex LLM applications such as agentic chatbots

  • Learn how to prototype complex LLM applications with no-code tools

Course curriculum

    1. Introduction

    2. Course Objectives and Structure

    3. Course Tips

    1. Flowise AI Installation

    2. Installing Flowise AI

    3. Basic Chatflow with Flowise AI

    4. Exercise

    1. Introduction to Prompt Chaining

    2. Applied Prompt Chaining

    3. Exercise

    1. Food Chatbot with Prompt Chaining

    2. Building the Food Chatbot

    3. Exercise

    1. Introduction to PAL

    2. PAL Demo

    1. Introduction to ReAct Prompting

    2. ReAct Demo

    3. Exercise

    4. ReAct Under the Hood

About this course

  • 22 lessons
  • 1.5 hours of video content
  • Projects to apply learnings
  • Earn a Certificate of Completion
  • Intermediate

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 advanced prompt engineering techniques for large language models (LLMs) and how to effectively apply them in various scenarios and use cases. After completing this course, students will have a good grasp of commonly used advanced prompting techniques like prompt chaining, PAL, and ReAct, including how to effectively apply them in their use cases.

PREREQUISITES

If you are new to prompt engineering, we recommend completing the Introduction to Prompt Engineering course (also available to all Pro members).

The main tool you will use in this course is Flowise AI (a no-code tool) with some occasional use of basic Python. You will also need to have a paid OpenAI account for API Keys. More details and instructions are provided in the course.

SYLLABUS

Course Introduction

  • Get a comprehensive overview of the course, its objectives, and the advanced prompt engineering techniques you will master.
  • Learn how this course uses a no-code tool to build complex, real-world LLM applications.


Introduction to Flowise AI

  • Get started with Flowise AI, the open-source, no-code platform used to build and test the advanced workflows in this course.
  • Follow a step-by-step guide to install Flowise AI locally and prepare your environment for the hands-on projects.


Prompt Chaining

  • Learn prompt chaining, an advanced technique for improving reliability by splitting a complex task into a sequence of simpler, more focused prompts.
  • Understand how breaking down tasks boosts transparency and controllability, making your applications easier to debug and iterate on.


Use Case: Building a Food Chatbot

  • Apply the prompt chaining technique to build a sophisticated food chatbot from scratch in Flowise AI.
  • Design a multi-step chain that uses a language model to reason about a menu, extract a factual answer, and then refine it for a friendly, concise user experience.


Program-Aided Language Modeling (PAL)

  • Discover Program-Aided Language Modeling (PAL), a method that combines an LLM's reasoning with the precision of an external tool, like a Python interpreter.
  • Learn how to offload complex computations, such as math or date calculations, from the LLM to a program to ensure accurate and reliable results.


ReAct Prompting

  • Master the powerful ReAct (Reason and Act) framework, which enables an agent to reason about a problem, take an action using a tool (like a web search), and make an observation.
  • Build a simple ReAct agent in Flowise AI equipped with both a search engine and a calculator to answer questions beyond its inherent knowledge.
  • Learn how to use LangSmith to trace and inspect the step-by-step reasoning process of your ReAct agent for effective debugging.


Use Case: An Agentic Food Chatbot

  • Integrate all the concepts you've learned to upgrade your food chatbot into a fully agentic application.
  • Convert your prompt chain-based chatbot into a custom tool that a master ReAct agent can call upon, alongside other tools like a calculator, to handle complex, multi-step user requests like placing and calculating an order.


Here's a subset of companies whose employees have benefited 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 is meticulously designed, reflecting Elvis’s deep expertise and attention to detail. The exercises are relevant, engaging, and challenging, making the learning process both enjoyable and highly effective. I particularly appreciated his real-time feedback on the exercises and his suggestions for alternative approaches, which deepened my understanding. The exercises played a crucial role in helping us grasp the concepts thoroughly, boosting our confidence in applying these techniques to real-world applications. Additionally, Elvis introduced us to various tools and techniques, sharing his knowledge about chaining LLM calls and expanding our skill set in prompt engineering. This course has been an invaluable learning experience, providing not only the theoretical knowledge but also the practical skills needed to excel in Prompt engineering.”

Praveen - Senior Software Engineer, Google

“Elvis taught the close with very relevant content, in an engaging way. Recommend Elvis and this Prompt Engineering course.”

Sreenivasan - Software Engineer | Ex-Apple, Ex-Google

“Elvis is a passionate and knowledgeable teacher! This was an amazing course. I learned a lot, and it will positively impact my day-to-day job. Thank you so much!”

Adolfo De Unánue, PhD - Research Director, Tecnológico de Monterrey

“Elvis Saravia's course is a learning experience that stands out for its depth and engagement. From the very start, it's clear that Elvis brings a wealth of knowledge and passion to the subject. His teaching style is both informative and accessible, making complex concepts not only understandable but also enjoyable to learn. Elvis dives deep into the intricacies of crafting effective prompts for large language models, providing practical insights and hands-on exercises that enhance the learning process. The course is well-structured, with a balanced mix of theory and practical application that keeps the material both engaging and relevant. Elvis himself is a remarkable teacher. His ability to explain intricate topics with clarity and enthusiasm fosters an environment where students feel encouraged and motivated. I highly recommend this course!”

Malin Råman Delin - Vice President M&A at Trilogy

“Before taking this course I knew a little about LLMs and nothing about Prompt Engineering. Here I was introduced to many LLMs and learned how to create effective prompts. Elvis is great, and his course materials provided me with a lot of information to review and research as I play catch-up with the people producing advances in this field.”

Georges - InHome Delivery Associate, Walmart

“Great course. I learned so much and Elvis’ passion on the subject matter was obvious. Thank you!”

Ki Han - Sr Design Director, Pivot Health Technologies

“This course helped me understand how to structure prompts in a way that works well with tools and APIs. It made it easier for me to build prompt chains and integrate them into workflows, like building RAG flows or chatbots. The sections on ReAct prompts were especially useful for handling multi step reasoning.”

Rahul Jain | Co-Founder & CEO at Pixeldust Technologies

“DAIR.AI Academy was my best choice for learning about AI in 2025! Elvis is a very competent teacher, and the content is extremely useful. Prompt Engineering, Agents, and so many other topics were covered that I don't need any other resources. Thank you for bringing this knowledge to us!”

Felipe Fontoura | Senior Consultant at 2Fx Tech

Stay Updated!

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

Thank You