OpenAI

org.llm4s.rag.benchmark.EmbeddingConfig.OpenAI
final case class OpenAI(model: String, dimensions: Int) extends EmbeddingConfig

OpenAI embedding configuration.

Value parameters

dimensions

Embedding dimensions (default: 1536)

model

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

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

Concrete fields

val provider: String