feat(opensearch): Add BASE_URL config to support reverse proxy deployments

This commit is contained in:
Willie Zutz
2025-05-08 20:58:04 -06:00
parent d839769d7e
commit 85605fe166
5 changed files with 81 additions and 7 deletions

View File

@ -1,6 +1,7 @@
[GENERAL]
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"
KEEP_ALIVE = "5m" # How long to keep Ollama models loaded into memory. (Instead of using -1 use "-1m")
BASE_URL = "" # Optional. When set, overrides detected URL for OpenSearch and other public URLs
[MODELS.OPENAI]
API_KEY = ""