Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

You're Doing Agentic Chat History Wrong - OpenAI Agents SDK

James Briggs via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to properly implement chat history and prompting techniques in OpenAI's Agents SDK through this comprehensive 33-minute tutorial. Explore the fundamental differences between event-based and interaction-based conversations while mastering static and dynamic prompting methods. Discover how to effectively utilize system, user, assistant, and tool prompts to build sophisticated conversational agents. Examine the various message types available in the SDK and understand their proper implementation for creating advanced AI agents. Cover essential topics including SDK setup, static instructions, dynamic prompts, message type usage, developer and assistant messages, chat history management, and function calls integration. Access accompanying code examples and detailed documentation to practice implementing these concepts in your own agentic applications.

Syllabus

00:00 OpenAI Agents SDK
00:56 Agents SDK Setup
01:56 Static Instructions
06:03 Dynamic Prompts
08:38 Rethinking Agentic Chat History
11:09 Message Types
20:25 How to Use SDK Message Types
22:09 Developer Messages
24:31 Assistant Messages
26:37 Chat History
27:53 Function Calls
31:03 Conclusion for Agents SDK Prompting

Taught by

James Briggs

Reviews

Start your review of You're Doing Agentic Chat History Wrong - OpenAI Agents SDK

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.