Introducerar yaml-baserad konfiguration för smidigare hantering
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Frontend Configuration
|
||||
frontend:
|
||||
url: "http://localhost:8000"
|
||||
|
||||
# Backend Configuration
|
||||
backend:
|
||||
url: "http://localhost:5005"
|
||||
|
||||
# Ollama Server Configuration
|
||||
ollama:
|
||||
url: "http://localhost:11434"
|
||||
api_key: "${OLLAMA_API_KEY}" # Refer to environment variable
|
||||
model: "ollama/Llama-2-7b" # Select a model supported by the Ollama server
|
||||
|
||||
# Additional Configuration Options (Optional)
|
||||
logging:
|
||||
level: DEBUG # Set log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
||||
|
||||
# Cache Settings (Optional)
|
||||
cache:
|
||||
enabled: true
|
||||
timeout: 60 # Seconds
|
||||
|
||||
Reference in New Issue
Block a user