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.