Structured outputs and constrained decoding
Module 6 of 11 in the Prompt Engineering course. 6 min read.
Prose like "return only valid JSON" breaks unpredictably. Learn constrained decoding, how to pick an engine, and the rules that keep structured output both valid and true.
Sign in to read this lesson. A free account is all you need.