ScriptedTurn class sealed
What the scripted model answers to one generation.
Constructors
- ScriptedTurn.text(String text)
-
A plain answer.
constfactory
-
ScriptedTurn.toolCall(String name, [Map<
String, Object?> arguments]) -
A call of
namewitharguments, in the Qwen3.5 XML envelope (the default template's). A model of another family (LlamadartFamilyProfile) writes its own syntax: script its calls with ScriptedTurn.text, for example<|tool_call>call:add{a:2,b:3}<tool_call|>for Gemma 4 (scriptedAssistantrefuses a ScriptedTurn.toolCall its profile does not read).constfactory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited