Optional
annotationsAnnotations for the message, when applicable, as when using the web search tool.
Optional
audioIf the audio output modality is requested, this object contains data about the audio response from the model. Learn more.
The contents of the message.
Optional
function_The refusal message generated by the model.
The role of the author of this message.
Optional
tool_The tool calls generated by the model, such as function calls.
A chat completion message generated by the model.