EmbeddingModelConfig

org.llm4s.llmconnect.config.EmbeddingModelConfig
case class EmbeddingModelConfig(name: String, dimensions: Int)

Configuration for a text embedding model, pairing a model identifier with its output vector size.

Used by embedding providers and the model dimension registry to resolve the expected dimensionality of embeddings produced by a given model.

Value parameters

dimensions

Number of dimensions in the embedding vectors produced by this model.

name

Model identifier (e.g. "text-embedding-3-small", "voyage-3-large").

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product