langchain.schema.agent.AgentAction¶
class langchain.schema.agent.AgentAction(tool: str, tool_input: Union[str, dict], log: str)[source]¶
A full description of an action for an ActionAgent to execute.
Attributes
tool
The name of the Tool to execute.
tool_input
The input to pass in to the Tool.
log
Additional information to log about the action.
Methods
__init__(tool, tool_input, log)
__init__(tool: str, tool_input: Union[str, dict], log: str) → None¶
Examples using AgentAction¶
Custom Trajectory Evaluator
Plug-and-Plai
Wikibase Agent
SalesGPT - Your Context-Aware AI Sales Assistant With Knowledge Base
Custom Agent with PlugIn Retrieval
Multiple callback handlers
Custom multi-action agent
Custom agent
Custom agent with tool retrieval