-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
71 lines (54 loc) · 1.9 KB
/
.env.example
File metadata and controls
71 lines (54 loc) · 1.9 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
# Bookmarks Cleaner - Environment Variables Example
# Copy this file to .env and fill in your values
# ===========================================
# LLM Configuration (Optional)
# ===========================================
# OpenAI API Key for LLM-based classification
# Get your key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Alternative: Use any OpenAI-compatible API
# Examples: Anthropic, Azure OpenAI, local LLM servers
# OPENAI_API_KEY=your-api-key-here
# OPENAI_BASE_URL=https://api.openai.com/v1
# ===========================================
# Performance Tuning
# ===========================================
# Maximum number of worker threads for parallel processing
# Default: 4 (auto-detected based on CPU cores)
# CLEANBOOK_MAX_WORKERS=4
# Cache size for classification results
# Default: 5000
# CLEANBOOK_CACHE_SIZE=5000
# Feature cache size
# Default: 10000
# CLEANBOOK_FEATURE_CACHE_SIZE=10000
# ===========================================
# Logging Configuration
# ===========================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
# Default: INFO
# CLEANBOOK_LOG_LEVEL=INFO
# Log file path
# Default: logs/ai_classifier.log
# CLEANBOOK_LOG_FILE=logs/ai_classifier.log
# ===========================================
# ML Model Configuration
# ===========================================
# Enable/disable machine learning classification
# Default: true
# CLEANBOOK_ENABLE_ML=true
# Model directory for saving/loading trained models
# Default: models/
# CLEANBOOK_MODEL_DIR=models/
# Online learning buffer size
# Default: 1000
# CLEANBOOK_ONLINE_BUFFER_SIZE=1000
# ===========================================
# Health Check Configuration
# ===========================================
# Timeout for URL health checks (seconds)
# Default: 10
# CLEANBOOK_HEALTH_CHECK_TIMEOUT=10
# Maximum concurrent health check workers
# Default: 20
# CLEANBOOK_HEALTH_CHECK_WORKERS=20