-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
45 lines (36 loc) · 2.06 KB
/
Copy pathenv.example
File metadata and controls
45 lines (36 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Service Configuration
SERVICE_NAME=ai-bot
# Telegram Bot Configuration
TELEGRAM_TOKEN=your_bot_token_here
TELEGRAM_API_BASE_URL=
TELEGRAM_DEBUG=false
TELEGRAM_UPDATES_TIMEOUT=30
# Webhook Configuration (optional)
TELEGRAM_WEBHOOK_ENABLE=false
TELEGRAM_WEBHOOK_URL=
TELEGRAM_WEBHOOK_DOMAIN=https://your-domain.com
TELEGRAM_WEBHOOK_PATH=/webhook
# Server Configuration
SERVER_ADDRESS=:8080
SERVER_PORT=8080
# Logging Configuration
LOG_LEVEL=info
# AI Provider Configuration
AI_URL=https://openrouter.ai/api/v1
AI_MODEL=qwen/qwen3-coder:free
AI_API_KEY=your_openrouter_api_key_here
# AI Prompt Configuration (choose one):
# Option 1: Direct prompt in .env (use \n for line breaks)
AI_PROMPT="You are a helpful AI assistant. You should:\n- Always be polite and respectful\n- Provide accurate information\n- Ask clarifying questions when needed\n- Keep responses concise but informative\n\nPlease respond to the user's message following these guidelines."
# Option 2: Load prompt from file (recommended for long prompts)
# AI_PROMPT_FILE=prompts/simple-assistant.txt
# Available prompt files:
# - prompts/simple-assistant.txt (basic helpful assistant)
# - prompts/customer-support.txt (customer support specialist)
# - prompts/english-teacher.txt (English teacher and translator)
# Bot Messages Configuration (optional - uses defaults if not set)
# BOT_START_MESSAGE="🤖 Hello! I'm a universal AI assistant.\n\n💡 Just send me a message and I'll help you with any questions!\n\nUse /help for additional information."
# BOT_HELP_MESSAGE="📚 AI Assistant Help:\n\n💬 **Any message** → Get a smart response:\n• Answer questions\n• Help with tasks\n• Explanations and advice\n• Creative ideas\n\n🔧 **Available commands:**\n• /start - Start working with the bot\n• /help - Show this help\n\n💡 Just send text - I'll help right away!"
# BOT_UNKNOWN_COMMAND_MESSAGE="❓ Unknown command. Use /help to get information about bot capabilities."
# BOT_ERROR_MESSAGE="Sorry, an error occurred while processing your message. Please try again."
# BOT_EMPTY_MESSAGE="Please send a text message."