-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (31 loc) · 768 Bytes
/
.env.example
File metadata and controls
39 lines (31 loc) · 768 Bytes
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
# Server Configuration
PORT=3000
NODE_ENV=development
# Database Configuration
DB_PATH=./storage/news.db
# OpenAI API Configuration
OPENAI_API_KEY=your_openai_api_key_here
# Content Extraction Settings
MAX_CONCURRENT_REQUESTS=5
REQUEST_TIMEOUT_MS=10000
MAX_KEYWORDS_PER_ARTICLE=15
# Collection Settings
COLLECTION_INTERVAL_MINUTES=60
MAX_ARTICLES_PER_FEED=15
# Recommendation Settings
INTERACTION_DECAY_DAYS=30
KEYWORD_MATCH_WEIGHT=0.4
CATEGORY_WEIGHT=0.2
SOURCE_WEIGHT=0.2
RECENCY_WEIGHT=0.2
RECENCY_HALF_LIFE_DAYS=7
KEYWORD_PROFILE_MIN_WEIGHT=0.2
VIEW_FATIGUE_FACTOR=0.2
# Interaction Weights
THUMBS_UP_WEIGHT=5.0
THUMBS_DOWN_WEIGHT=-3.0
CLICK_WEIGHT=1.0
# "Just in" BOOST Parameters
JUST_IN_BOOST_WEIGHT=5.0
JUST_IN_MIN_KEYWORD_MATCHES=2
JUST_IN_MAX_VIEWS=5