Spaces:
Sleeping
Sleeping
Commit
·
4474b88
1
Parent(s):
1558556
Ollama references
Browse files
.env
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
### Models ###
|
| 5 |
# Models are sourced exclusively from an OpenAI-compatible base URL.
|
| 6 |
# Example: https://router.huggingface.co/v1
|
|
|
|
| 7 |
OPENAI_BASE_URL=https://router.huggingface.co/v1
|
| 8 |
|
| 9 |
# Canonical auth token for any OpenAI-compatible provider
|
|
@@ -11,6 +12,10 @@ OPENAI_API_KEY=#your provider API key (works for HF router, OpenAI, LM Studio, e
|
|
| 11 |
# Legacy alias (still supported): if set and OPENAI_API_KEY is empty, it will be used
|
| 12 |
# HF_TOKEN=
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
### MongoDB ###
|
| 15 |
MONGODB_URL=#your mongodb URL here, use chat-ui-db image if you don't want to set this
|
| 16 |
MONGODB_DB_NAME=chat-ui
|
|
|
|
| 4 |
### Models ###
|
| 5 |
# Models are sourced exclusively from an OpenAI-compatible base URL.
|
| 6 |
# Example: https://router.huggingface.co/v1
|
| 7 |
+
# http://localhost:11434/v1 for Ollama model API
|
| 8 |
OPENAI_BASE_URL=https://router.huggingface.co/v1
|
| 9 |
|
| 10 |
# Canonical auth token for any OpenAI-compatible provider
|
|
|
|
| 12 |
# Legacy alias (still supported): if set and OPENAI_API_KEY is empty, it will be used
|
| 13 |
# HF_TOKEN=
|
| 14 |
|
| 15 |
+
# Ollama #
|
| 16 |
+
# Ollama model download list, comma-separated, keep empty if not using ollama.
|
| 17 |
+
# OLLAMA_MODELS=
|
| 18 |
+
|
| 19 |
### MongoDB ###
|
| 20 |
MONGODB_URL=#your mongodb URL here, use chat-ui-db image if you don't want to set this
|
| 21 |
MONGODB_DB_NAME=chat-ui
|