JSON mode / structured output
Provider features that constrain model output to valid JSON or a supplied schema. Always still validate in code — and handle the truncated-mid-object case.
Provider features that constrain model output to valid JSON or a supplied schema. Always still validate in code — and handle the truncated-mid-object case.