~/talk

Taming LLMs with Pydantic Parsing, Validating, and Guarding output

Talkat PyBay 2025 · on Saturday, 2025-10-18· [ai-assisted-development, python]
links:none on file
slides:none on file

Shows how Pydantic and Pydantic‑AI are used to coerce LLM output into typed, validated Python objects and add guardrails via structured prompts and validators, with the core parsing implemented in Pydantic core in Rust and the package creating a reusable graph schema. Describes a startup flow that receives webhooks (Postmark/SendGrid), summarizes long email chains with an LLM, then automated NetSuite attachment of the email thread, validation fails early if fields are wrong, and a 10,000-item benchmark finds Marshmallow faster on load but Pydantic faster on dump.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:19What is Pydantic
  3. 5:51Pydantic AI overview
  4. 7:01Production use case
  5. 9:21Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.