#05 · LLM engineering and evals · 5.7 minStructured Outputs in Python: Valid JSON Is Not Correct JSON
Turn messy emails into structured tickets with a local model and Pydantic, then test the answers. Valid JSON is not the same as correct JSON.
Python 3.12.15 | ollama==0.6.3, pydantic==2.14.1


