Pydantic is All You Need - Model Driven Development with OpenAI Function Calls
AI Engineer via YouTube
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to leverage Pydantic with OpenAI's function calling feature to transform string-based prompts into structured, type-safe data models in this 18-minute conference talk from the AI Engineer Summit 2023. Discover model-driven development techniques that enable you to represent complex problems as simple code, moving beyond traditional string-to-string prompt engineering to generate Pydantic objects directly from OpenAI responses. Explore step-by-step examples demonstrating how to model data structures, generate diagrams, and write prompts as code to save development time while ensuring correct handling of complex data types. Master best practices for managing prompts using established software engineering principles rather than inventing new methodologies, and understand how this approach enables more robust and maintainable LLM-powered applications in production environments.
Syllabus
Pydantic is all you need: Jason Liu
Taught by
AI Engineer