DefaultLiteRtLmConversation
class DefaultLiteRtLmConversation(delegate: ERROR CLASS: Symbol not found for Conversation) : LiteRtLmConversation
Default implementation of LiteRtLmConversation delegating to the native Conversation.
Constructors
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
open override fun sendMessage(message: ERROR CLASS: Symbol not found for LiteRtLmMessage): ERROR CLASS: Symbol not found for LiteRtLmMessage
Link copied to clipboard
open override fun sendMessageAsync(message: ERROR CLASS: Symbol not found for LiteRtLmMessage, callback: ERROR CLASS: Symbol not found for MessageCallback)