Skip to content

数据模型: CompletionRequest ​

CompletionRequest ​

字段类型必选描述
modelstring是
promptany是
max_tokensinteger否
temperaturenumber否
top_pnumber否
ninteger否
streamboolean否
stopany否
suffixstring否
echoboolean否

数据模型示例 ​

json
{
  "model": "string",
  "prompt": null,
  "max_tokens": 0,
  "temperature": 0,
  "top_p": 0,
  "n": 0,
  "stream": true,
  "stop": null,
  "suffix": "string",
  "echo": true
}

Released under the MIT License.