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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article