LiteRtLmConversation
Interface wrapping the LiteRT-LM Conversation to enable mockability.
Inheritors
Functions
Link copied to clipboard
Stops generation started by sendMessageAsync, so that closing does not block until it finishes. The conversation cannot be reused afterwards and must be closed.
Link copied to clipboard
abstract fun sendMessage(message: ERROR CLASS: Symbol not found for LiteRtLmMessage): ERROR CLASS: Symbol not found for LiteRtLmMessage
Link copied to clipboard
abstract fun sendMessageAsync(message: ERROR CLASS: Symbol not found for LiteRtLmMessage, callback: ERROR CLASS: Symbol not found for MessageCallback)