Completions

Creates a completion for the provided prompt and parameters.

Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.

post/v1/completions/

Request body

max_tokensinteger nullable
temperaturenumber nullable
top_pnumber nullable
ninteger nullable
streamboolean nullable
logprobsinteger nullable
echoboolean nullable

Response

Successful Response

{"stackTrail":"paths:/v1/completions/:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.