OPENAPI / COMPONENTS / SCHEMAS
Create Completion Request 数据结构
CreateCompletionRequestOpenAI API 合约中的 Create Completion Request 结构定义。
object18字段
best_ofintegerOpenAI API 合约中的 best of 值。
echobooleanOpenAI API 合约中的 echo 值。
frequency_penaltynumberOpenAI API 合约中的 frequency penalty 值。
logit_biasobjectOpenAI API 合约中的 logit bias 值。
logprobsintegerOpenAI API 合约中的 logprobs 值。
max_tokensintegerOpenAI API 合约中的 max tokens 值。
modelstring必填OpenAI API 合约中的 model 值。
nintegerOpenAI API 合约中的 n 值。
presence_penaltynumberOpenAI API 合约中的 presence penalty 值。
promptstring必填OpenAI API 合约中的 prompt 值。
seedintegerOpenAI API 合约中的 seed 值。
stopStopConfigurationOpenAI API 合约中的 stop 值。
streambooleanOpenAI API 合约中的 stream 值。
stream_optionsChatCompletionStreamOptionsOpenAI API 合约中的 stream options 值。
suffixstringOpenAI API 合约中的 suffix 值。
temperaturenumberOpenAI API 合约中的 temperature 值。
top_pnumberOpenAI API 合约中的 top p 值。
userstringOpenAI API 合约中的 user 值。