AgentChatContext class
Constructors
-
AgentChatContext.new({List<
Map< ? messages, String systemRole = "system"})String, dynamic> >
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
↔ List<
Map< String, dynamic> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemRole → String
-
final
Methods
-
appendRules(
List< String> rules) → void -
appendUserImage(
String url) → void -
appendUserMessage(
String message) → void -
copy(
) → AgentChatContext -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → AgentChatContext