Structured outputs

A structured output is a model response in a strict, program-readable format, most often JSON that follows a schema. It lets you integrate the model into an application without parsing free text, provided you validate the output.

Example

{"sentiment": "positif", "score": 0.8}

Related concepts

The whole glossary