ThreadsClient class

Constructors

ThreadsClient({required OpenAIAssistant apiClient, required String apiKey})

Properties

apiClient OpenAIAssistant
final
apiKey String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
messages ThreadMessageClient
no setter
runs RunClient
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEmptyThread() Future<ThreadModel?>
CREATE EMPTY THREAD
createWithMessages(NewMessageThreadModel threadDetails) Future<ThreadModel?>
CREATE THREAD WITH MESSAGES
delete(String threadId) Future<ThreadDeleteResponseModel?>
DELETE THREADS
modify(ThreadModifyDataModel threadsData) Future<ThreadModificationResponseModel?>
MODIFY THREADS
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve(dynamic threadID) Future<ThreadModel?>
RETRIEVE THREADS
toString() String
A string representation of this object.
inherited

Operators

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