ModelSelector

sealed class ModelSelector(source)

Selects which model backs an evaluation. Returned from an ModelResolver.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
class Custom(val model: ModelAdapter) : ModelSelector

Use a custom model — your own backend, a third-party API, or another on-device runtime.

Link copied to clipboard

Use the SDK's built-in model, if one is registered and the device is eligible.