OllamaConfigKeys

org.llm4s.config.OllamaConfigKeys
@Stable

Environment-variable names recognised by llm4s-ollama.

These were ConfigKeys.OLLAMA_* in llm4s-core until the provider moved to its own module (#1132): a key belongs with the code that reads it, so that ConfigKeys does not name variables for a provider that may not be on the classpath.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val OLLAMA_BASE_URL: String

Conventional Ollama server URL variable, declared as the ollama provider's baseUrlEnv. Chat config is keyed by the instance name, so llm4s reads it only where your own HOCON binds it, e.g. llm4s.providers.ollama-local.baseUrl = ${?OLLAMA_BASE_URL}; unset, the section keeps the default, http://localhost:11434.

Conventional Ollama server URL variable, declared as the ollama provider's baseUrlEnv. Chat config is keyed by the instance name, so llm4s reads it only where your own HOCON binds it, e.g. llm4s.providers.ollama-local.baseUrl = ${?OLLAMA_BASE_URL}; unset, the section keeps the default, http://localhost:11434.

Attributes

Overrides the Ollama embedding base URL; bound to llm4s.embeddings.ollama.baseUrl.

Overrides the Ollama embedding base URL; bound to llm4s.embeddings.ollama.baseUrl.

Attributes

Selects the Ollama embedding model; bound to llm4s.embeddings.ollama.model.

Selects the Ollama embedding model; bound to llm4s.embeddings.ollama.model.

Attributes