BaseMultiActionAgent class abstract
Base class for multi action agents.
- Inheritance
-
- Object
- Agent
- BaseActionAgent
- BaseMultiActionAgent
- Implementers
Constructors
-
BaseMultiActionAgent({required List<
Tool< tools})Object, ToolOptions, Object> > -
Base class for multi action agents.
const
Properties
- agentType → String
-
Returns the type of agent.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputKeys
→ Set<
String> -
Returns the input keys.
no setterinherited
-
returnValues
→ Set<
String> -
Returns values of the agent.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tools
→ List<
Tool< Object, ToolOptions, Object> > -
The tools this agent can use.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
plan(
AgentPlanInput input) → Future< List< BaseAgentAction> > -
Given the input and previous steps, returns the next action to take.
inherited
-
returnStoppedResponse(
AgentEarlyStoppingMethod earlyStoppingMethod, List< AgentStep> intermediateSteps) → AgentFinish -
Return response when agent has been stopped due to max iterations.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited