AssistantMessageService class
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