Short CourseBeginner 59 Minutes

Event-Driven Agentic Document Workflows

Instructor: Laurie Voss

LlamaIndex
  • Beginner
  • 59 Minutes
  • 8 Video Lessons
  • 6 Code Examples
  • Instructor: Laurie Voss
    • LlamaIndex
    LlamaIndex

What you'll learn

  • Learn to build event-driven workflows with complex branching, looping logic, and concurrent executions.

  • Build an event-driven agentic workflow that parses forms, retrieves relevant information from a source document using RAG, and returns answers to the form’s fields as structured outputs.

  • Incorporate human-in-the-loop to a document workflow to provide feedback to the agent through text and voice instructions.

About this course

Learn to build Event-Driven Agentic Document Workflows, in this new course, built in partnership with LlamaIndex, and taught by Laurie Voss, VP of Developer Relations.

Manually processing complex documents can be time-consuming, and error-prone. But what if an AI agent could automate it for you? Agentic document workflows are agent-based applications that you can use to automate an end-to-end document processing workflow. This course teaches you how to build an agentic document workflow, using an event-driven architecture, a design pattern that allows the agent to perform its tasks asynchronously and in parallel.

You’ll design an event-driven agentic workflow that fills out a PDF form based on information from a source document. The agent will use RAG to retrieve relevant data from the source document, parse the form to identify the required fields, convert the blank spaces into questions, and send those questions to the RAG system. You’ll collaborate with the agent using a human-in-the-loop feedback approach through text and with your voice.

In detail, you’ll: 

  • Understand the basic concepts of agentic document workflow, which consists of RAG, agents, and event-driven workflows.
  • Build a series of LlamaIndex’s workflows that increase in complexity and involve branching, looping logic, and concurrent executions.
  • Set up the agent’s RAG capability by parsing the source document, loading the extracted information into a vector store, and building a query engine on top of the store.
  • Implement workflow steps that enable the agent to parse the form to be filled, turn the parsed information into simple questions, and use the questions to query the RAG pipeline.
  • Incorporate human-in-the-loop into the workflow and ask the agent to re-answer when necessary to produce more accurate form responses.
  • Add multimodal capability to the agent, allowing it to process spoken feedback.

By the end of this course, you’ll have built an event-driven agentic workflow that fills out a document and responds to human feedback for more accurate form completion.

Who should join?

Anyone who has basic Python knowledge and basic understanding of object-oriented programming, and wants to learn to build event-driven agent workflows!

Course Outline

8 Lessons・6 Code Examples
  • Introduction

    Video3 mins

  • What are Agentic Document Workflows

    Video5 mins

  • Building a Workflow

    Video with code examples18 mins

  • Adding RAG

    Video with code examples9 mins

  • Form Parsing

    Video with code examples6 mins

  • Human in the Loop

    Video with code examples8 mins

  • Use your Voice

    Video with code examples6 mins

  • Conclusion

    Video1 min

  • Appendix – Tips and Help

    Code examples1 min

Instructor

Laurie Voss

Laurie Voss

VP of Developer Relations at LlamaIndex

Course access is free for a limited time during the DeepLearning.AI learning platform beta!

Want to learn more about Generative AI?

Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!