TextEmbeddingModelSettings

org.llm4s.config.Llm4sConfig.TextEmbeddingModelSettings
See theTextEmbeddingModelSettings companion object
final case class TextEmbeddingModelSettings

The active embedding model, as textEmbeddingModel resolves it.

Value parameters

dimensions

the model's output dimensions

modelName

the provider's model name

provider

the embedding provider id, lower-cased

Attributes

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

Members list

Value members

Concrete methods

Sets the output dimensions.

Sets the output dimensions.

Attributes

def withModelName(modelName: String): TextEmbeddingModelSettings

Sets the model name.

Sets the model name.

Attributes

def withProvider(provider: String): TextEmbeddingModelSettings

Sets the embedding provider id.

Sets the embedding provider id.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product