DefaultLiteRtLmConversation

class DefaultLiteRtLmConversation(delegate: ERROR CLASS: Symbol not found for Conversation) : LiteRtLmConversation

Default implementation of LiteRtLmConversation delegating to the native Conversation.

Constructors

Link copied to clipboard
constructor(delegate: ERROR CLASS: Symbol not found for Conversation)

Functions

Link copied to clipboard
open override fun cancelProcess(): ERROR CLASS: Unresolved name: cancelProcess

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 close(): ERROR CLASS: Unresolved name: close
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)