org.llm4s.llmconnect.config.LocalEmbeddingModels
See theLocalEmbeddingModels companion object
@Stable
Configuration specifying local model names for non-text modality embedding.
Holds the model identifiers used by local encoders to produce embeddings for image, audio, and video content. These models run locally (e.g. via ONNX or stub implementations) rather than calling a remote API.
Value parameters
- audioModel
-
Local model name for audio embeddings (e.g. "wav2vec2-base").
- imageModel
-
Local model name for image embeddings (e.g. "openclip-vit-b32").
- videoModel
-
Local model name for video embeddings (e.g. "timesformer-base"). Build one with LocalEmbeddingModels.apply and change it with the
with*setters; the constructor andcopyare private, so a new modality never breaks callers.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article