ToolReductionStrategy class abstract
Represents a strategy capable of selecting a reduced set of tools for a chat request.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
selectToolsForRequest(
Iterable< ChatMessage> messages, ChatOptions? options, CancellationToken cancellationToken) → Future<Iterable< AITool> > - Selects the tools that should be included for a specific request.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited