StringToObjectTransformer<O> class
abstract
- Inheritance
-
- Object
- RawTransformer<
String, O> - StringToObjectTransformer
Constructors
-
StringToObjectTransformer.new({required ConnectedChatModel llm, required String instructions, int maxRecursiveToolCalls = 1, String? user, List<
Tool> tools = const []})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instructions → String
-
finalinherited
- llm → ConnectedChatModel
-
finalinherited
- maxRecursiveToolCalls → int
-
finalinherited
- outputSchema → ToolSchema?
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tools
→ List<
Tool> -
finalinherited
- user → String?
-
finalinherited
Methods
-
call(
String i) → Future< O> -
inherited
-
fromAgent(
Map< String, dynamic> s) → O -
override
-
getInstructions(
) → Future< String?> -
inherited
-
getTools(
) → Future< List< Tool> ?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAgent(
String i) → Future< Content> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited