OPENAPI / COMPONENTS / SCHEMAS

Create Completion Request data structure

CreateCompletionRequest

Structural definition for Create Completion Request in the OpenAI API contract.

object18properties
best_ofinteger

best of value in the OpenAI API contract.

echoboolean

echo value in the OpenAI API contract.

frequency_penaltynumber

frequency penalty value in the OpenAI API contract.

logit_biasobject

logit bias value in the OpenAI API contract.

logprobsinteger

logprobs value in the OpenAI API contract.

max_tokensinteger

max tokens value in the OpenAI API contract.

modelstringrequired

model value in the OpenAI API contract.

ninteger

n value in the OpenAI API contract.

presence_penaltynumber

presence penalty value in the OpenAI API contract.

promptstringrequired

prompt value in the OpenAI API contract.

seedinteger

seed value in the OpenAI API contract.

stopStopConfiguration

stop value in the OpenAI API contract.

streamboolean

stream value in the OpenAI API contract.

stream_optionsChatCompletionStreamOptions

stream options value in the OpenAI API contract.

suffixstring

suffix value in the OpenAI API contract.

temperaturenumber

temperature value in the OpenAI API contract.

top_pnumber

top p value in the OpenAI API contract.

userstring

user value in the OpenAI API contract.