Request options (Responses-style names) and the library's own.
Attributes#
| Attribute | Type | Description |
|---|---|---|
model | str | |
metadata | dict[str, str] | None | |
top_logprobs | int | |
temperature | float | None | |
top_p | float | None | |
user | str | None | |
safety_identifier | str | None | |
prompt_cache_key | str | None | |
service_tier | str | |
prompt_cache_retention | Literal['in-memory', '24h'] | None | |
previous_response_id | str | None | |
reasoning | object | |
background | bool | None | |
max_output_tokens | int | None | |
max_tool_calls | int | None | |
truncation | Literal['auto', 'disabled'] | None | |
include | list[str] | None | |
parallel_tool_calls | bool | None | |
instructions | str | None | |
modalities | list[Literal['text', 'audio']] | |
seed | int | |
text | TextConfig | |
file_id_prefixes | Sequence[str] | |
strict_json_schema | bool |
On This Page
Attributes