org.llm4s.config.ProvidersConfigModel.ProvidersConfig
See theProvidersConfig companion object
Validated top-level providers configuration, including all named provider entries.
Value parameters
-
namedProviders
-
map of provider name to validated NamedProviderConfig
-
selectedProvider
-
the name of the default provider, if configured
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Returns the name of the default provider or a ConfigurationError if none is selected.
Returns the name of the default provider or a ConfigurationError if none is selected.
Attributes
-
Returns
-
Right(ProviderName) when a default is configured, or Left with an error
Sets the named provider sections.
Sets the named provider sections.
Attributes
Sets the default provider's name.
Sets the default provider's name.
Attributes
Sets the default provider's name, or clears it with None.
Sets the default provider's name, or clears it with None.
Attributes
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product