Chat Completions

post/v1/chat/completions

Request body

modelstring required
temperaturenumber nullable
max_tokensinteger nullable
top_pnumber nullable
ninteger nullable
streamboolean nullable
stopstring[] nullable
presence_penaltynumber nullable
frequency_penaltynumber nullable
logit_biasobject nullable
userstring nullable
personastring nullable

Response

Successful Response

{"stackTrail":"paths:/v1/chat/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.