chat_completions
chat_completions
Request Body — REQUIRED | ||
---|---|---|
messages object[] — REQUIRED
| ||
temperature float | ||
seed int64 |
Responses | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
200 Success
| ||||||||||||
405 When chat model is not specified, the endpoint returns 405 Method Not Allowed | ||||||||||||
422 When the prompt is malformed, the endpoint returns 422 Unprocessable Entity |