Home/Archive

The archive

48 posts
Showing 1–2 of 2 · #structured-output
Structured output without JSON mode: 7 patterns that hold upPROMPTS

Structured output without JSON mode: 7 patterns that hold up

Schemas in the prompt, sentinels, validate-and-repair loops and smaller output shapes. Patterns that make any model return parseable data.

MOMira OkaforOct 31 · 6 min
Structured outputs vs. plain prompts: when constrained decoding is worth itTESTS

Structured outputs vs. plain prompts: when constrained decoding is worth it

Schema-constrained decoding guarantees valid JSON. It does not guarantee correct data, and it can cost quality. How to choose and how to test.

JLJonas LindSep 29 · 6 min

Get the Sunday Diff — every post worth reading, once a week.