55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
# Backend Configuration
|
||
backend:
|
||
url: "http://localhost:5004"
|
||
api: "/api/chat"
|
||
|
||
|
||
endpoints:
|
||
- model: "AUTODETECT"
|
||
title: "Ollama"
|
||
url: "http://localhost:11434"
|
||
provider: "ollama"
|
||
# - model: "AUTODETECT"
|
||
- model: "AUTODETECT"
|
||
title: "Ollama-WARA"
|
||
url: "https://ollama-test.wara-ops.org"
|
||
requestOptions:
|
||
headers:
|
||
Authorization: "${OLLAMA_API_KEY}" # on MacOS: echo "Authorization: Basic $(echo -n 'user:password' | gbase64 -w 0)"
|
||
provider: "ollama"
|
||
|
||
# Ollama Server Configuration
|
||
ollama:
|
||
title: "Ollama-local"
|
||
# url: "http://localhost:11434"
|
||
url: "https://ollama-test.wara-ops.org"
|
||
api_key: "${OLLAMA_API_KEY}" # Refer to environment variable
|
||
# model: "phi3:mini" # Select a model supported by the Ollama server
|
||
# model: "llama3:70b" # Select a model supported by the Ollama server
|
||
model: "llama3.1:70b" # Select a model supported by the Ollama server
|
||
# model: "llama3.1:8b" # Select a model supported by the Ollama server
|
||
# model: "llama3:latest" # Select a model supported by the Ollama server
|
||
# model: "mannix/llama3-8b-ablitered-v3:latest" # Select a model supported by the Ollama server
|
||
# model: "mistral-nemo:latest" # Select a model supported by the Ollama server
|
||
# model: "gemma2:27b"
|
||
# model: "AUTODETECT"
|
||
|
||
# Logging – comment out the whole section for default level which is INFO
|
||
logging:
|
||
level: DEBUG # Set log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
||
# level: INFO # Set log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
||
|
||
# Additional Configuration Options (Optional – ignored for now)
|
||
|
||
# Cache Settings (Optional)
|
||
cache:
|
||
enabled: True
|
||
timeout: 60 # Seconds
|
||
|
||
test:
|
||
test_key_1: "ett"
|
||
test_key_2: "ett"
|
||
test_key_3: "${THIS_IS_A_DUMMY_VAR}"
|
||
|
||
another_test: "Syns detta?"
|