ConfigKeys
org.llm4s.config.ConfigKeys
@Stable
object ConfigKeys
Canonical environment-variable names bound by llm4s-core's reference.conf.
Each is read through a ${?VAR} substitution under the llm4s config tree, so the config key it feeds can also be set directly in application.conf or as a JVM system property. This object centralises the names to avoid typos and make grep-friendly references possible.
== Quick reference ==
- Chat providers: a named section under
llm4s.providerssets no key of its own by default; it uses its vendor'sllm4s.credentials.<id>.apiKey, which the provider's module binds to the vendor's variable (llm4s-openaibindsOPENAI_API_KEY, seeOpenAIConfigKeys). Nothing readsLLM_MODEL. TRACING_MODE— optional;console(default) ornone, or a backend module's mode:langfuse(llm4s-observability),opentelemetry(llm4s-observability-otel).EMBEDDING_MODEL— required when using embeddings; formatprovider/model.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConfigKeys.type
Members list
In this article