OutputConfigDict¶
Dictionary Type¶
OutputConfigDict
¶
Bases: TypedDict
Dictionary form of OutputConfig.
Attributes¶
effort
instance-attribute
¶
effort: str | None
The effort level for the model to use when generating a response. Higher
effort levels allow the model to spend more time reasoning before
responding. Supported values are low, medium, high, xhigh, and
max.
Note
When extended thinking is disabled, the effort level is capped at
high. Use effort high or below, or enable thinking to use higher
effort levels.
text_format
instance-attribute
¶
text_format: OutputFormat | OutputFormatDict | None
Structured output parameters to control the model's text response.