Skip to main content
Version: v0.4.2

Openai Chat Completion

POST 

/v1/chat/completions

Create chat completions.

Generate an OpenAI-compatible chat completion for the given messages using the specified model.

Request​

Responses​

An OpenAIChatCompletion. When streaming, returns Server-Sent Events (SSE) with OpenAIChatCompletionChunk objects.