discontinuedPackage vit_gpt_dart_api has been discontinued.

CompletionModel class abstract

Implementers

Constructors

CompletionModel()

Properties

addsPreviousMessagesToThread → bool
no setter
addsResponseAutomatically → bool
Indicates the class adds the response message to the current thread.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch({List<Message>? previousMessages}) → Future<Message>
fetchStream({List<Message>? previousMessages, int retries = 2, FutureOr<void> onError(CompletionException error, int retriesRemaning)?, void onJsonComplete(Map<String, dynamic> chunk)?}) → Stream<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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