Files
ds_zagres_ai/ai_service/.env.example
T

21 lines
725 B
Bash
Raw Normal View History

2025-05-09 15:41:16 +01:00
# API configuration
API_HOST=0.0.0.0
API_PORT=5251
2025-05-16 13:23:35 +01:00
PUBLIC_URL=http://your-public-url:5251 # Public URL for webhooks, needed for OpenWebUI to send channel messages
2025-05-09 15:41:16 +01:00
# 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
2025-05-09 16:47:30 +01:00
OLLAMA_API_URL=http://104.225.217.215:8080/ollama
2025-05-09 15:41:16 +01:00
DEFAULT_MODEL=llama3.1
# Document processing
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
2025-05-16 13:23:35 +01:00
# 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