26 lines
967 B
Bash
26 lines
967 B
Bash
# API configuration
|
|
API_HOST=0.0.0.0
|
|
API_PORT=5252
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|