# Create a chat completion (/zh-Hant/docs/api/create-chat-completion)

Generate the next message in a conversation with the OpenAI Chat Completions format. Set `stream` to receive server-sent events.

Generate the next message in a conversation with the OpenAI Chat Completions format. Set `stream` to receive server-sent events.

Machine-readable schema: /docs/openapi.yaml