21 lines
725 B
Bash
21 lines
725 B
Bash
# API configuration
|
|
API_HOST=0.0.0.0
|
|
API_PORT=5252
|
|
PUBLIC_URL=http://your-public-url:5252 # Public URL for webhooks, needed for OpenWebUI to send channel messages
|
|
|
|
# OpenWebUI configuration
|
|
OPENWEBUI_URL=http://104.225.217.215:8080
|
|
OPENWEBUI_API_KEY=your-openwebui-api-key # Replace with the actual key in your .env file
|
|
|
|
# Ollama configuration
|
|
OLLAMA_API_URL=http://104.225.217.215:8080/ollama
|
|
DEFAULT_MODEL=llama3.1
|
|
|
|
# Document processing
|
|
CHUNK_SIZE=1000
|
|
CHUNK_OVERLAP=200
|
|
|
|
# AI bot configuration
|
|
AI_TRIGGERS=@ai,@bot,@assistant,@chatbot # Comma-separated list of triggers that will make the AI respond
|
|
AI_RESPOND_TO_ALL=false # Set to 'true' to make the AI respond to all messages, 'false' to only respond to mentions
|