AiPlaygroundController class

One conversation with a language model: its messages, the running answer and the settings it uses.

Constructors

AiPlaygroundController({dynamic client})

Properties

busy ↔ bool
getter/setter pair
client → dynamic
final
error ↔ String?
The last failure, cleared by the next message.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
messages → List
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settings ↔ dynamic
getter/setter pair

Methods

clear() → void
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String text) → void
Sends text with the whole conversation before it; a second send waits for the running answer.
stop() → void
Ends the running answer after its current token.
toString() → String
A string representation of this object.
inherited
updateSettings(dynamic next) → void

Operators

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