chat

Create Completion

post/v1/completions

Request

Request body

modelstring required
suffixstring nullable
temperaturenumber nullable
ninteger nullable
max_tokensinteger nullable
streamboolean nullable
top_pnumber nullable
top_kinteger nullable
logprobsinteger nullable
echoboolean nullable
presence_penaltynumber nullable
frequency_penaltynumber nullable
userstring nullable
use_beam_searchboolean nullable
best_ofinteger nullable
adaptorstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 7 revisions of this API.