module aixplain.modules.agent.tool
Global Variables
- model_tool
- pipeline_tool
class Tool
Specialized software or resource designed to assist the AI in executing specific tasks or functions based on user commands.
Attributes:
name
(Text): name of the tooldescription
(Text): description of the toolversion
(Text): version of the tool
method __init__
__init__(
name: str,
description: str,
version: Optional[str] = None,
**additional_info
) → None
Specialized software or resource designed to assist the AI in executing specific tasks or functions based on user commands.
Args:
name
(Text): name of the tooldescription
(Text): descriptiion of the toolversion
(Text): version of the tool
method to_dict
to_dict()
Converts the tool to a dictionary.
method validate
validate()