EmbeddingProviderSection

org.llm4s.llmconnect.spi.EmbeddingProviderSection
final case class EmbeddingProviderSection(apiKey: Option[String], baseUrl: Option[String], model: Option[String])

One embedding provider's llm4s.embeddings.<id> section, as read from config.

The shape is the same for every provider, which is what lets llm4s-core parse it without knowing which providers exist: the provider-specific part is what EmbeddingProviderDescriptor.buildConfig makes of it.

Value parameters

apiKey

llm4s.embeddings.<id>.apiKey.

baseUrl

llm4s.embeddings.<id>.baseUrl.

model

llm4s.embeddings.<id>.model.

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