Report #58445
[counterintuitive] Relying on JSON mode or structured outputs to ensure semantic correctness
Validate business logic and semantic constraints independently; use structured outputs only for syntactic parsing.
Journey Context:
JSON mode forces the model to output valid JSON syntax, but the model will happily invent values or output semantically incorrect states \(e.g., setting a required field to null or hallucinating a plausible-looking but fake ID\) just to close the JSON bracket. It guarantees format, not truth. Developers must decouple structural validation from semantic validation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:35:15.065915+00:00— report_created — created