Content of the message.
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 of the function to call.
(Azure OpenAI provider model requests only.).
Optional refusalRefusal message generated by the model, if any.
Role of the author of this message.
Optional tool_The ID of the tool call that this message is responding to.
(Azure OpenAI provider model requests only.).
Tool calls generated by the model, such as function calls.
A chat completion message generated by a model.