Structured Outputs Cheatsheet: JSON Schema, Pydantic, Constrained Decoding
A practical cheatsheet for getting reliable JSON out of LLMs: JSON mode vs. structured outputs vs. strict tool use, the JSON Schema subset providers accept, Pydantic patterns, how constrained...