Appearance
数据模型: ResponsesRequest
ResponsesRequest
| 字段 | 类型 | 必选 | 描述 |
|---|---|---|---|
| model | string | 是 | |
| input | any | 否 | 输入内容,可以是字符串或消息数组 |
| instructions | string | 否 | |
| max_output_tokens | integer | 否 | |
| temperature | number | 否 | |
| top_p | number | 否 | |
| stream | boolean | 否 | |
| tools | array of object | 否 | |
| tool_choice | any | 否 | |
| reasoning | object | 否 | |
| reasoning.effort | string | 否 | |
| reasoning.summary | string | 否 | |
| previous_response_id | string | 否 | |
| truncation | string | 否 |
数据模型示例
json
{
"model": "string",
"input": null,
"instructions": "string",
"max_output_tokens": 0,
"temperature": 0,
"top_p": 0,
"stream": true,
"tools": [
{}
],
"tool_choice": null,
"reasoning": {
"effort": "string",
"summary": "string"
},
"previous_response_id": "string",
"truncation": "string"
}