CreateResponse fields and the library's options (see the module
docstring).
Attributes#
| Attribute | Type | Description |
|---|---|---|
model | str | |
background | bool | None | |
conversation | object | |
include | Sequence[str] | None | |
instructions | str | None | |
max_output_tokens | int | None | |
max_tool_calls | int | None | |
metadata | dict[str, str] | None | |
parallel_tool_calls | bool | None | |
previous_response_id | str | None | |
prompt | object | |
prompt_cache_key | str | None | |
prompt_cache_retention | Literal['in-memory', '24h'] | None | |
reasoning | object | |
safety_identifier | str | None | |
service_tier | str | None | |
store | bool | None | |
temperature | float | None | |
top_logprobs | int | None | |
top_p | float | None | |
truncation | Literal['auto', 'disabled'] | None | |
user | str | None | |
text | TextConfig | |
file_id_prefixes | Sequence[str] | |
strict_json_schema | bool | |
use_item_references | bool | |
reasoning_model | bool |
On This Page
Attributes