AssistantThreadsService class

Constructors

AssistantThreadsService({required String baseUrl, required bool secure})

Properties

baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secure bool
final

Methods

createThread({required String apiKey, required String organizationId, required CreateGptThreadRequest request}) Future<GptThread>
Create a thread.
deleteThread({required String apiKey, required String organizationId, required String threadId}) Future<void>
Retrieves a thread.
modifyThread({required String apiKey, required String organizationId, required String threadId, required ModifyGptThreadRequest request}) Future<GptThread>
Modifies a thread.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveThread({required String apiKey, required String organizationId, required String threadId}) Future<GptThread>
Retrieves a thread.
toString() String
A string representation of this object.
inherited

Operators

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