discontinuedPackage vit_gpt_dart_api has been discontinued.

ThreadsModel class abstract

Implementers

Constructors

ThreadsModel()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

create([List<Message>? messages]) → Future<Conversation>
createMessage(String threadId, Message message) → Future<Message>
delete(String id) → Future<void>
deleteMessage(String threadId, String messageId) → Future<void>
listMessages({required String threadId, bool? asc, int? limit, String? after, String? before}) → Future<List<Message>>
load(String id) → Future<Conversation>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveMetadata(String threadId, Map<String, String> metadata) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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