OptionalaudioData about a previous audio response from the model. Learn more.
OptionalcontentThe contents of the assistant message. Required unless tool_calls or
function_call is specified.
Optionalfunction_OptionalnameAn optional name for the participant. Provides the model information to differentiate between participants of the same role.
OptionalrefusalThe refusal message by the assistant.
The role of the messages author, in this case assistant.
Optionaltool_The tool calls generated by the model, such as function calls.
Messages sent by the model in response to user messages.