EmbeddingConfig

org.llm4s.rag.benchmark.EmbeddingConfig
See theEmbeddingConfig companion trait

Attributes

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

Members list

Type members

Classlikes

final case class Ollama(model: String, dimensions: Int, baseUrl: String) extends EmbeddingConfig

Ollama local embedding configuration.

Ollama local embedding configuration.

Value parameters

baseUrl

Ollama server URL (default: http://localhost:11434)

dimensions

Embedding dimensions (default: 768)

model

Model name (default: nomic-embed-text)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class OpenAI(model: String, dimensions: Int) extends EmbeddingConfig

OpenAI embedding configuration.

OpenAI embedding configuration.

Value parameters

dimensions

Embedding dimensions (default: 1536)

model

Model name (default: text-embedding-3-small)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Voyage(model: String, dimensions: Int) extends EmbeddingConfig

Voyage AI embedding configuration.

Voyage AI embedding configuration.

Value parameters

dimensions

Embedding dimensions (default: 1024)

model

Model name (default: voyage-3)

Attributes

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

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 fields

Default embedding configuration (OpenAI text-embedding-3-small)

Default embedding configuration (OpenAI text-embedding-3-small)

Attributes

Pre-configured Ollama mxbai model

Pre-configured Ollama mxbai model

Attributes

Pre-configured OpenAI large embedding model

Pre-configured OpenAI large embedding model

Attributes

Pre-configured Voyage code-optimized model

Pre-configured Voyage code-optimized model

Attributes