Chat API
post
Authorizations
Body
modelstringOptional
ID of the model to use.
temperaturenumber | nullableOptionalDefault:
What sampling temperature to use, between 0 and 2.
1Example: 0max_tokensinteger | nullableOptionalDefault:
The maximum number of tokens to generate in the chat completion.
1Example: 0streamboolean | nullableOptionalDefault:
If set, partial message deltas will be sent.
falseExample: falseResponses
200
OK
application/json
post
/v1/chat/completions200
OK
Last updated
Was this helpful?