Module 02 · Week 3

Structured outputs

Get data back in a shape your code can trust.

  1. Why free text breaks your app
  2. Describe the shape with Zod
  3. Make the model fill your shape
  4. When it's still wrong: retry with the error
  5. Other tools, briefly