LiteRtLmWebEngineSettings class final

What the pass hands EmbeddingEngine.create (EmbeddingEngineSettings). A null field is left out of the settings object, so the runtime applies its own rule — for visionBackend and audioBackend, that tower disabled.

Constructors

LiteRtLmWebEngineSettings({required String modelUrl, required LiteRtLmWebBackend backend, required int maxInputLength, LiteRtLmWebBackend? visionBackend, LiteRtLmWebBackend? audioBackend, int? minInputLength, int? visionTokensPerImage})
const

Properties

audioBackend → LiteRtLmWebBackend?
final
backend → LiteRtLmWebBackend
final
hashCode → int
The hash code for this object.
no setterinherited
maxInputLength → int
final
minInputLength → int?
final
modelUrl → String
A URL the runtime's fetch() can read: blob: or https:.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visionBackend → LiteRtLmWebBackend?
final
visionTokensPerImage → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited