OptionalcontentThe contents of the assistant message. Required unless tool_calls or
function_call is specified.
Optionalfunction_@deprecated: Deprecated and replaced by tool_calls. The name and arguments of
a function that should be called, as generated by the model.
OptionalnameAn optional name for the participant. Provides the model information to differentiate between participants of the same role.
OptionalrefusalThe refusal message by the assistant.
Optionaltool_The tool calls generated by the model, such as function calls.
The role of the messages author, in this case
assistant.