structured output — making the model return json4 / 9
schemas, pydantic, and validation — making the model return real data
Read the editor. The raw JSON passes every validation check. What does the print line output?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _