A chat completion message generated by the model.
Optional
Annotations for the message, when applicable, as when using the web search tool.
If the audio output modality is requested, this object contains data about the audio response from the model. Learn more.
The contents of the message.
Deprecated and replaced by tool_calls. The name and arguments of a function that should be called, as generated by the model.
tool_calls
The refusal message generated by the model.
The role of the author of this message.
The tool calls generated by the model, such as function calls.
A chat completion message generated by the model.