Reference documentation for Using Reasoning Models.
output_schema
, the schema applies to the content
field, while reasoning_content
remains as free-form text. This combination allows the model to full explore the problem or task at hand, while also offering strict adherence to a specified output forma:
Example with Pydantic Model
content
field is validated against the schema. The reasoning_content
field always contains unstructured text showing the model’s thought process.reasoning_content
field is valuable for debugging, education, and building trust in AI outputs