We use cookies on our website.
Docs
API Reference
Schema
Action, Step

Action, Step

Action

Represents the action to be performed by the agent.

Attributes

  • tool_name (str): The name of the tool to be used.
  • args (dict): The arguments to the tool.

Step

Represents a step in the agent's loop.

Attributes

  • question (str): The question that was asked.
  • action (Action): The action that was performed by the agent.
  • result (ToolReturn): The result of the action.