Create chat completions.
POST/v1/chat/completions
Generate an OpenAI-compatible chat completion for the given messages using the specified model.
Request
Responses
- 200
- 400
- 429
- 500
- default
An OpenAIChatCompletion. When streaming, returns Server-Sent Events (SSE) with OpenAIChatCompletionChunk objects.
Bad Request
Too Many Requests
Internal Server Error
Default Response