Function¶
Structure Class¶
Function
dataclass
¶
Defines parameters that the agent needs to invoke from the user to complete the function. Corresponds to an action in an action group.
This data type is used in the following API operations:
Attributes¶
description
class-attribute
instance-attribute
¶
description: str | None = None
A description of the function and its purpose.
parameters
class-attribute
instance-attribute
¶
parameters: dict[str, ParameterDetail] | None = None
The parameters that the agent elicits from the user to fulfill the function.