structured output — making the model return json2 / 9
schemas, pydantic, and validation — making the model return real data
Cursor wires up a ticket-extraction prompt. Why is calling
Ticket.model_validate_json(raw) (or doing your own type check)
on every response non-negotiable in production?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _