InputMessagesTemplate class
Template-based input messages with variable substitution support.
Use this to define messages that may include template variables like
{{item.input}} which get substituted with values from each evaluation item.
- Inheritance
-
- Object
- InputMessages
- InputMessagesTemplate
- Annotations
-
- @immutable
Constructors
-
InputMessagesTemplate({required List<
InputMessage> template}) -
Creates an InputMessagesTemplate.
const
-
InputMessagesTemplate.fromJson(Map<
String, dynamic> json) -
Creates an InputMessagesTemplate from JSON.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
template
→ List<
InputMessage> -
List of messages forming the prompt (may include
{{item.name}}variables).final - type → String
-
The type of input messages configuration.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts to JSON.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override