LiteRtLmModel

class LiteRtLmModel : <ERROR CLASS> ERROR CLASS: Symbol not found for Model, AutoCloseable

A Model implementation that uses the LiteRT-LM runtime to generate content.

Parameters

engine

The Engine to use for generation.

ownsEngine

Whether this model owns the engine and should close it when closed.

name

The name of the model.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun generateContent(request: ERROR CLASS: Symbol not found for LlmRequest, stream: Boolean): ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for LlmResponse>