EmbeddingVector
org.llm4s.llmconnect.model.EmbeddingVector
final case class EmbeddingVector(id: String, modality: Modality, model: String, dim: Int, values: Array[Float], meta: Map[String, String])
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
- 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
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article