-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.env.example
More file actions
63 lines (49 loc) · 1.86 KB
/
.env.example
File metadata and controls
63 lines (49 loc) · 1.86 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
# ============================================
# LyAdminBot Configuration
# ============================================
NODE_ENV=production
# ============================================
# Core Settings (REQUIRED)
# ============================================
MONGODB_URI="mongodb://localhost:27017/LyAdminBot"
BOT_TOKEN="123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
BOT_DOMAIN=""
WEB_URL="https://admin.lyo.su/login"
# ============================================
# Spam Detection - LLM Analysis (REQUIRED)
# ============================================
# OpenAI - for embeddings generation
OPENAI_API_KEY=sk-your-openai-api-key
# OpenRouter - for LLM spam analysis
OPENROUTER_API_KEY=sk-or-your-openrouter-api-key
# ============================================
# Spam Detection - Vector Database (REQUIRED)
# ============================================
# Qdrant - vector similarity search
# Local: http://localhost:6333
# Cloud: https://your-cluster-id.qdrant.io
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=
# ============================================
# Spam Detection - CAS Import (RECOMMENDED)
# ============================================
# CAS (Combot Anti-Spam) sync - imports known spam patterns
CAS_SYNC_ENABLED=true
CAS_SYNC_INTERVAL_HOURS=6
CAS_SYNC_BATCH_SIZE=1000
CAS_SYNC_CONCURRENCY=10
CAS_SYNC_MAX_USERS=50000
# ============================================
# Spam Detection - NLP Service (OPTIONAL)
# ============================================
# NLP service for background POS tagging analytics
# Only used for metadata extraction after spam confirmation
# Not required for real-time detection
NLP_SERVICE_ENABLED=false
NLP_SERVICE_URL=http://localhost:8000
NLP_SERVICE_TIMEOUT=5000
# ============================================
# Logging (OPTIONAL)
# ============================================
# Log level: trace, debug, info, warn, error, fatal
LOG_LEVEL=info