Skip to content

Function

autogen.oai.oai_models.chat_completion_message_tool_call.Function #

Bases: BaseModel

model_config class-attribute #

model_config = ConfigDict(extra='allow')

arguments instance-attribute #

arguments

The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.

name instance-attribute #

name

The name of the function to call.