|
| 1 | +| Name | Type | Default | Description | |
| 2 | +| ----------------------------- | --------------------------------- | -------------------- | ------------------------------------------------------------------------------------- | |
| 3 | +| `id` | `str` | `"gpt-4o"` | The id of the OpenAI model to use. | |
| 4 | +| `name` | `str` | `"OpenAIResponses"` | The name of this response model instance. | |
| 5 | +| `provider` | `str` | `"OpenAI"` | The provider of the model. | |
| 6 | +| `include` | `Optional[List[str]]` | `None` | List of response components to include in the response. | |
| 7 | +| `max_output_tokens` | `Optional[int]` | `None` | The maximum number of tokens to generate in the response output. | |
| 8 | +| `metadata` | `Optional[Dict[str, Any]]` | `None` | Additional metadata to include with the request. | |
| 9 | +| `parallel_tool_calls` | `Optional[bool]` | `None` | Whether to allow parallel tool calls. | |
| 10 | +| `reasoning` | `Optional[Dict[str, Any]]` | `None` | Parameters for enabling and controlling reasoning/thinking in the response. | |
| 11 | +| `store` | `Optional[bool]` | `None` | Whether to store the output of this response request for model distillation or evals. | |
| 12 | +| `temperature` | `Optional[float]` | `None` | Controls randomness in the model's output. | |
| 13 | +| `top_p` | `Optional[float]` | `None` | Controls diversity via nucleus sampling. | |
| 14 | +| `truncation` | `Optional[str]` | `None` | How to handle content that exceeds the token limit. | |
| 15 | +| `user` | `Optional[str]` | `None` | A unique identifier representing your end-user. | |
| 16 | +| `response_format` | `Optional[Any]` | `None` | An object specifying the format that the model must output. | |
| 17 | +| `request_params` | `Optional[Dict[str, Any]]` | `None` | Additional parameters to include in the request. | |
| 18 | +| `api_key` | `Optional[str]` | `None` | The API key for authenticating with OpenAI. | |
| 19 | +| `organization` | `Optional[str]` | `None` | The organization to use for API requests. | |
| 20 | +| `base_url` | `Optional[Union[str, httpx.URL]]` | `None` | The base URL for API requests. | |
| 21 | +| `timeout` | `Optional[float]` | `None` | The timeout for API requests. | |
| 22 | +| `max_retries` | `Optional[int]` | `None` | The maximum number of retries for failed requests. | |
| 23 | +| `default_headers` | `Optional[Dict[str, str]]` | `None` | Default headers to include in all requests. | |
| 24 | +| `default_query` | `Optional[Dict[str, str]]` | `None` | Default query parameters to include in all requests. | |
| 25 | +| `http_client` | `Optional[httpx.Client]` | `None` | An optional pre-configured HTTP client. | |
| 26 | +| `client_params` | `Optional[Dict[str, Any]]` | `None` | Additional parameters for client configuration. | |
| 27 | +| `vector_store_name` | `str` | `"knowledge_base"` | The name of the vector store for file uploads and retrieval. | |
0 commit comments