AppendToChatStep class

Appends the value to the chat.

This is the recommended way of sending response back to the user.

value could be string interpolated mix of inputs and outputs.

Example:

final promptOutput = PromptOutput();
return [
  PromptQueryStep(prompt:'Hi, what is the best way to add a List View in Flutter?', promptOutput: promptOutput),
  AppendToChatStep(value: '$promptOutput')
]
Inheritance

Constructors

AppendToChatStep({required String value})

Properties

dashOutputs List<DashOutput>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final
version String
no setteroverride

Methods

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

Operators

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