Module: OllamaChat::EnvConfig::OLLAMA
- Defined in:
- lib/ollama_chat/env_config.rb
Defined Under Namespace
Modules: CHAT
Constant Summary collapse
- HOST =
set do description 'Ollama "host" to connect to' default 'localhost:11434' end
- URL =
set do description 'Ollama base URL to connect to' default { 'http://%s' % OllamaChat::EnvConfig::OLLAMA::HOST } sensitive true end
- SEARXNG_URL =
set do description 'URL for the SearXNG service for searches' default 'http://localhost:8088/search?q=%{query}&language=en&format=json' sensitive true end
- REDIS_URL =
set do description 'Redis URL for documents' default { ENV['REDIS_URL'].full? } sensitive true end
- REDIS_EXPIRING_URL =
set do description 'Redis URL for caching' default { EnvConfig::OLLAMA::REDIS_URL? || ENV['REDIS_URL'].full? } sensitive true end