Creates a model response for the given chat conversation.
Required
The text contents of the message.
Optional
Choose file
The image content of the message.
Required
ID of the model to use. See the model endpoint compatibility table for details on which models work with the Chat API.
Optional
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
Optional
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more.