DifyRepository class abstract

Implementers

Constructors

DifyRepository.new()

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

audioToText(String filePath, String userId) Future<Map<String, String>>
deleteConversation(String conversationId, String userId) Future<SuccessResponse>
getMeta() Future<Map<String, dynamic>>
getSuggestedQuestions(String messageId, String userId) Future<List<String>>
listConversations({required String userId, String? lastId, int limit = 20, String sortBy = '-updated_at'}) Future<PaginatedResponse<Conversation>>
listMessages({required String conversationId, required String userId, int limit = 20, String? lastId}) Future<PaginatedResponse<Message>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renameConversation(String conversationId, ConversationRenameRequest request) Future<Conversation>
sendChatMessage(ChatMessageRequest request) Future<ChatMessageResponse>
stopGeneration(String messageId, String userId) Future<SuccessResponse>
submitMessageFeedback(String messageId, FeedbackRequest feedback) Future<SuccessResponse>
textToAudio(String text, String userId, {String? messageId}) Future<List<int>>
toString() String
A string representation of this object.
inherited
uploadFile(String filePath, String userId) Future<FileUploadResponse>

Operators

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