AssistantMessageService class

Constructors

AssistantMessageService({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

createMessage({required String apiKey, required String organizationId, required String threadId, required CreateGptMessageRequest request}) Future<GptAssistantMessage>
Create a message.
listMessageFiles({required String apiKey, required String organizationId, required String threadId, required String messageId, required GetGptListRequest request}) Future<List<GptMessageFile>>
Returns a list of message files.
listMessages({required String apiKey, required String organizationId, required String threadId, required GetGptListRequest request}) Future<List<GptAssistantMessage>>
modifyMessage({required String apiKey, required String organizationId, required String threadId, required String messageId, required CreateGptMessageRequest request}) Future<GptAssistantMessage>
Modifies a message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveMessage({required String apiKey, required String organizationId, required String threadId, required String messageId}) Future<GptAssistantMessage>
Retrieves a message.
retrieveMessageFile({required String apiKey, required String organizationId, required String threadId, required String messageId, required String fileId}) Future<GptMessageFile>
Retrieves a message file.
toString() String
A string representation of this object.
inherited

Operators

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