Optional
contentThe contents of the assistant message. Required unless tool_calls
is specified.
Optional
nameAn optional name for the participant. Provides the model information to differentiate between participants of the same role.
Optional
refusalThe refusal message by the assistant.
The role of the messages author.
Optional
tool_The tool calls generated by the model, such as function calls.
The definition of an assistant message.