← Browse

World's Fair 2024

Pydantic is STILL all you need: Jason Liu

Overview

This talk argues that Pydantic remains the essential tool for building reliable applications with large language models (LLMs). The core thesis is that by leveraging Pydantic's schema definition and validation capabilities, developers can move beyond the unreliability of unstructured text outputs and program with data structures, similar to classical software development. This approach enhances composability, reliability, and developer experience when interacting with LLMs.

Who should watch

Key takeaways

Notable quotes

*The problem is that by not having schemas and structured responses we tend to lose compatibility, composability and reliability when we build tools and write code that interact with external systems.*
*The real idea here is we're going to be programming with data structures which is something everyone knows how to do rather than trying to like beg and pray to the LLM gods.*
*We are actually turning software 3.0 and making it backwards compatible with existing software.*

Watch on YouTube →

Unofficial community note. Prefer the recording for nuance.