ToolWidgetToolTextResponseConfig class

Constructors

ToolWidgetToolTextResponseConfig({Input<String?>? staticText, Input<String?>? textResponseInstruction, Input<String?>? type})
Creates a new ToolWidgetToolTextResponseConfig. staticText Optional. The static text response to return when type is STATIC. textResponseInstruction Optional. Instruction for the LLM on how to generate the text response. Used as type Optional. The strategy for providing the text response.
const
ToolWidgetToolTextResponseConfig.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
staticText → Input<String?>?
Optional. The static text response to return when type is STATIC.
final
textResponseInstruction → Input<String?>?
Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
final
type → Input<String?>?
Optional. The strategy for providing the text response. Possible values: TYPE_UNSPECIFIED NONE LLM_GENERATED STATIC Possible values are: TYPE_UNSPECIFIED, NONE, LLM_GENERATED, STATIC.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited