Valid JSON, Wrong Refund: Structured LLM Outputs in Django (Part 7)
Constrained decoding guarantees shape, not truth: four validation layers, fact checks through Pydantic validation context, one model for Anthropic and OpenAI schemas, and a retry policy that knows when to stop.