Skip to content

数据模型: ResponsesRequest ​

ResponsesRequest ​

字段类型必选描述
modelstring是
inputany否输入内容,可以是字符串或消息数组
instructionsstring否
max_output_tokensinteger否
temperaturenumber否
top_pnumber否
streamboolean否
toolsarray of object否
tool_choiceany否
reasoningobject否
reasoning.effortstring否
reasoning.summarystring否
previous_response_idstring否
truncationstring否

数据模型示例 ​

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"
}

Released under the MIT License.