org.llm4s.llmconnect.spi.ProviderConfigContext
See theProviderConfigContext companion object
@Stable
What ProviderDescriptor.buildConfig is given besides the section itself.
One value rather than a list of parameters, so that something a later provider needs is a new field here and not a new signature for every descriptor.
Value parameters
- contextWindows
-
resolves a model's context window and output reserve; a config's
fromValuestakes it as ausingparameter, so a descriptor usually starts withgiven ContextWindowResolver = context.contextWindows - providerName
-
the user's name for the section (
llm4s.providers.<name>), for error messages and for theProviderDescriptor.require*helpers
Attributes
- Companion
- object
- Source
- ProviderContext.scala
- Graph
-
- Supertypes
Members list
In this article
