Skip to main content

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 tool
  • description (Text): description of the tool
  • version (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 tool
  • description (Text): descriptiion of the tool
  • version (Text): version of the tool

method to_dict

to_dict()

Converts the tool to a dictionary.


method validate

validate()