ChatCompletionMessage
autogen.oai.oai_models.chat_completion_message.ChatCompletionMessage #
Bases: BaseModel
content class-attribute instance-attribute #
The contents of the message.
Can be a string for text-only messages, a dict for structured content, a list of dicts for multimodal content (text + images), or None when tool_calls or function_call is present.
refusal class-attribute instance-attribute #
The refusal message generated by the model.
annotations class-attribute instance-attribute #
Annotations for the message, when applicable, as when using the web search tool.
audio class-attribute instance-attribute #
If the audio output modality is requested, this object contains data about the audio response from the model. Learn more.
function_call class-attribute instance-attribute #
Deprecated and replaced by tool_calls.
The name and arguments of a function that should be called, as generated by the model.
tool_calls class-attribute instance-attribute #
The tool calls generated by the model, such as function calls.