-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
67 lines (59 loc) · 1.38 KB
/
Copy pathconfig.yaml
File metadata and controls
67 lines (59 loc) · 1.38 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
# Gmail settings
gmail:
labels:
- "Newsletters"
max_results: 50
# Days to look back on first run
initial_lookback_days: 7
# Content extraction
extraction:
# Rate limiting
requests_per_second: 2.0
per_domain_requests_per_second: 1.0
# Timeouts (seconds)
fetch_timeout: 30
# Max content length (chars) to store
max_content_length: 50000
# Deduplication
dedup:
# Clustering distance threshold (lower = stricter dedup)
# 0.35 distance ≈ 0.65 cosine similarity
distance_threshold: 0.35
# Days to look back for cross-day merging
lookback_days: 7
embedding_model: "all-MiniLM-L6-v2"
# Claude enrichment (via claude-relay)
claude:
model: "sonnet"
base_url: "http://localhost:18082"
max_context_words_per_item: 2000
max_tokens: 4096
# Max total words to send in the synthesis briefing prompt
max_briefing_words: 80000
# Podcast transcription
transcription:
whisper_model: "large-v3"
compute_type: "int8"
device: "cpu"
max_duration_minutes: 120
partial_duration_minutes: 30
# Ranking weights (must sum to 1.0)
ranking:
weight_coverage: 0.25
weight_novelty: 0.25
weight_interest: 0.25
weight_contrarian: 0.10
weight_recency: 0.15
# Digest
digest:
top_stories_count: 5
hidden_gems_count: 3
trend_watch_count: 3
output_dir: "digests"
# RSS/URL feeds
feeds:
fetch_timeout: 30
max_items_per_feed: 50
# Database
database:
path: "upshot.db"