Foundations

Generative AI Patterns and Workflows

Understand common patterns for building with generative AI including prompt chaining, few-shot learning, and structured outputs. Learn proven architectures for reliable AI systems.

Estimated Time 22 hours

Introduction

Understand common patterns for building with generative AI including prompt chaining, few-shot learning, and structured outputs. Learn proven architectures for reliable AI systems.

4 Lessons
22h Est. Time
4 Objectives
1 Assessment

By completing this module you will be able to:

Master prompt chaining and multi-step workflows
Implement few-shot learning and in-context learning
Use structured outputs (JSON, schemas) for reliable parsing
Build validation and error recovery into AI workflows

Lessons

Work through each lesson in order. Each one builds on the concepts from the previous lesson.

1

Core Architectural Patterns for GenAI

50 min

Start Lesson
2

Building Reliable LLM Pipelines

50 min

Start Lesson
3

State Management and Conversation Design

45 min

Start Lesson
4

Evaluation and Testing Patterns

45 min

Start Lesson

Recommended Reading

Supplement your learning with these selected chapters from the course library.

📖

Practical GenAI with ChatGPT 2e

Chapters 4-7

📖

Generative AI Design Patterns

Chapters 1-5

📖

LLM Design Patterns

Chapters 1-4

Module Assessment

Generative AI Patterns and Workflows

Question 1 of 3

What is prompt chaining and why is it useful?