-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
74 lines (63 loc) · 2.63 KB
/
Copy path.env.example
File metadata and controls
74 lines (63 loc) · 2.63 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# ========================================
# Telegram Bot Configuration
# ========================================
# Get your bot token from @BotFather on Telegram
# 1. Send /newbot to @BotFather
# 2. Follow instructions to create your bot
# 3. Copy the token here
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
# Optional: Telegram Webhook (for production, default uses polling)
# TELEGRAM_WEBHOOK_ENABLED=false
# TELEGRAM_WEBHOOK_URL=
# TELEGRAM_WEBHOOK_PORT=8443
# Optional: Orchestrator timeout (in seconds, default: 30)
# ORCHESTRATOR_TIMEOUT=30
# ========================================
# Optional: Notion API configuration
# ========================================
# NOTION_API_KEY=your_notion_api_key_here
# ========================================
# Redis Configuration
# ========================================
# Default values, uncomment to customize
# REDIS_HOST=redis
# REDIS_PORT=6379
# REDIS_DB=0
# REDIS_PASSWORD=
# ========================================
# Task Auto-Cleanup Configuration
# ========================================
# Enable automatic cleanup of completed tasks and media files
# When enabled, tasks will expire from Redis after TASK_TTL_SECONDS
# and associated media files will be automatically deleted
TASK_AUTO_CLEANUP=true
# Time-to-live for tasks in seconds (default: 3600 = 1 hour)
# After this time, task records will be removed from Redis
# and all associated files (video, audio, text, images) will be deleted
TASK_TTL_SECONDS=3600
# ========================================
# Logging Configuration
# ========================================
# LOG_LEVEL=INFO
# ========================================
# ASR Service Configuration
# ========================================
# Default scene for ASR transcription when client doesn't specify
# Options: tech, medical, finance, education, ecommerce, general, user
# - tech: Technical terms (GitHub, Docker, Python, etc.) [DEFAULT]
# - medical: Medical terms (CT, MRI, blood test, etc.)
# - finance: Financial terms (stocks, funds, IPO, etc.)
# - education: Education terms (TOEFL, GPA, courses, etc.)
# - ecommerce: E-commerce terms (Taobao, JD, promotion, etc.)
# - general: No predefined hotwords
# - user: User-defined hotwords from RAG (can merge with predefined scenes)
DEFAULT_SCENE=user
# When scene=user, merge hotwords from these predefined scenes (comma-separated)
# Example: "tech,finance" will merge technical and financial terms with user hotwords
# Leave empty to use ONLY user-defined hotwords
# Recommended for quant trading: "tech,finance"
USER_SCENE_MERGE=tech,finance
# Enable RAG hotword engine
# RAG_ENABLED=true
# RAG vector database path
# QDRANT_PATH=/app/vector_db