OllamaConfigKeys

org.llm4s.config.OllamaConfigKeys

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, named in the "missing baseUrl" error for a named ollama provider. Chat config is keyed by the instance name, so it is bound in your own HOCON, e.g. llm4s.providers.ollama-local.baseUrl = ${?OLLAMA_BASE_URL}.

Conventional Ollama server URL variable, named in the "missing baseUrl" error for a named ollama provider. Chat config is keyed by the instance name, so it is bound in your own HOCON, e.g. llm4s.providers.ollama-local.baseUrl = ${?OLLAMA_BASE_URL}.

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