Optional audioData about a previous audio response from the model.
Optional contentContent of an assistant message. Required unless tool_calls or function_call are specified.
Optional function_The name and arguments of a function that should be called, as generated by the model.
Deprecated: function_call has been deprecated by OpenAI and replaced by tool_calls.
Optional nameName for the participant. Provides the model information to differentiate between participants of the same role.
Optional refusalRefusal message by the assistant.
Role of the messages author, in this case should always be "assistant".
Optional tool_Array of tool calls generated by the model, such as function calls.
An assistant message in a chat.