NamedProviderConfig
org.llm4s.config.ProvidersConfigModel.NamedProviderConfig
final case class NamedProviderConfig(provider: ProviderKind, model: ModelName, baseUrl: Option[BaseUrl], apiKey: Option[ApiKey], organization: Option[String], endpoint: Option[String], apiVersion: Option[String])
Validated and normalised configuration for a single named provider.
Value parameters
- apiKey
-
provider-dependent credential: an API key for most providers, or a path to a service-account credentials file for VertexAI
- apiVersion
-
optional API version string (Azure-specific)
- baseUrl
-
optional base URL override
- endpoint
-
provider-dependent: the endpoint URL for Azure, or the GCP project ID for VertexAI
- model
-
the model name to use
- organization
-
provider-dependent: the organisation identifier for OpenAI, or the GCP region/location for VertexAI
- provider
-
the resolved
ProviderKind
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article