EmbeddingVector

org.llm4s.llmconnect.model.EmbeddingVector
See theEmbeddingVector companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(id: String, modality: Modality, model: String, dim: Int, values: Array[Float], meta: Map[String, String]): EmbeddingVector

Creates an EmbeddingVector.

Creates an EmbeddingVector.

Value parameters

dim

dimensionality of the vector

id

unique identifier for this embedding

meta

key-value metadata; empty by default

modality

the input modality that was embedded

model

name of the embedding model

values

raw float values

Attributes