Structured Output
A supported schema constrains a successful response. Completion checks and semantic validation are still needed before the application accepts its values.
A supported schema constrains a successful response. Completion checks and semantic validation are still needed before the application accepts its values.
JSON Schema describes the structure a JSON document must have. A sentiment-result example shows why a document can conform while its meaning is wrong.
A language model outputs a distribution, and the decoder picks the tokens. Learn temperature and top-p, token masking for structured output, and how to evaluate it.