Files

26 lines
967 B
Bash
Raw Permalink Normal View History

2025-05-09 15:41:16 +01:00
# API configuration
API_HOST=0.0.0.0
2025-05-16 18:03:15 +01:00
API_PORT=5252
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
2025-05-20 02:18:46 +01:00
# Bot configuration
BOT_ENABLED=true # Set to 'true' to enable the OpenWebUI bot, 'false' to disable it
BOT_SYSTEM_PROMPT="You are a helpful AI assistant." # System prompt for the bot
BOT_TEMPERATURE=0.7 # Temperature for response generation (0.0 to 1.0)
BOT_MAX_TOKENS=2048 # Maximum number of tokens to generate
BOT_TOP_P=0.9 # Top-p sampling parameter (0.0 to 1.0)
BOT_TRIGGERS=@ai,@bot,@assistant,@chatbot # Comma-separated list of triggers that will make the bot respond
BOT_RESPOND_TO_ALL=false # Set to 'true' to make the bot respond to all messages, 'false' to only respond to mentions