AiAssistantEvents

@Serializable
sealed class AiAssistantEvents

Sealed class representing the various states of the AI Assistant.

Inheritors

Types

Link copied to clipboard
data object Chat : AiAssistantEvents

Event indicating an active chat session.

Link copied to clipboard
data class Error(val message: String, val errorStates: DocumentErrorStates, val retryEnabled: Boolean = true) : AiAssistantEvents

Event indicating an error occurred.

Link copied to clipboard

Event indicating the AI Assistant is loading or processing.

Link copied to clipboard

Event indicating the WebSocket connection has been established.

Link copied to clipboard

Event indicating the WebSocket connection has been closed.

Link copied to clipboard

Event indicating a successful completion.