org.llm4s.llmconnect.model.EmbeddingVector
See theEmbeddingVector companion object
@Stable
Represents a dense embedding vector produced by an embedding model.
Value parameters
- dim
-
dimensionality of the embedding vector
- id
-
unique identifier for this embedding (e.g. document or chunk ID)
- meta
-
optional key-value metadata associated with this embedding Build one with EmbeddingVector.apply and change it with the
with*setters; the constructor andcopyare private, so a new field never breaks callers. - modality
-
the input modality that was embedded (e.g. text, image)
- model
-
name of the embedding model that produced this vector
- values
-
raw float values of the embedding vector
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article