response_format, using
the standard OpenAI parameter. Pass a Pydantic model through the SDK, or a raw JSON schema.
Pydantic models
JSON schema
Supported models
Structured outputs work on models whosesupported_features include structured_outputs. Check
GET /v1/models.