ResponseFormat
ResponseFormat
Response format configuration for structured outputs.
Supported formats: {"type": "json_schema", "json_schema": {...}}.
The schema should follow JSON Schema specification.
JSON Example
{
"type": "string",
"json_schema": {}
}
string
type
Required
type
Enumeration:
text,
json_object,
json_schema
object
json_schema
Optional
json_schema