ConversationService class

Constructors

ConversationService()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

copyMessageWithoutTags(String message) String
createConversation(String assistantId, bool isMarketplace, {bool isAnonymous = false}) Future<Conversation?>
Creates a new conversation for the given assistant
deleteConversation(bool isMarketplace, Conversation conversation) Future<bool>
forkConversation(String assistantId, String conversationId, String title, String queryId, bool isMarketplace) Future<Conversation?>
Forks a conversation by its assistant and conversation IDs
getAttachmentTypeEnum(String attachmentType) AttachmentType
getConversation(String idAssistant, String idConversation, bool isMarketplace) Future<Conversation?>
Gets a conversation by its assistant and conversation IDs
getFaviconUrl(String link) String
Gets a favicon URL
getMessageTypeEnum(String? messageType) MessageType?
getNoVisionCapabilityMessage() String
getReactionEnum(String reaction) Reaction
getReactionString(Reaction reaction) String
getSourceTypeEnum(String? sourceType) SourceType
getWebSearchTypeEnum(String? searchType) WebSearchType?
getWebSearchTypeIcon(WebSearchType webSearchType) IconData
isDifferentDay(DateTime? firstDate, DateTime? secondDate) bool
updateConversation(String idAssistant, String idConversation, Map<String, dynamic> data, bool isMarketplace) Future<Conversation?>
Updates a conversation by its assistant and conversation IDs