apps(osint): summarizer d04ddc9afacb — syndication dedupe before selection
PR #55 collapses normalised-title duplicates (7 Hearst stations carrying one wire story) to the best-scoring representative before min_score/top_n, stores duplicates with selected=false + duplicate_of, and exposes SUMMARY_DEDUPE / SUMMARY_DEDUPE_SIMILARITY (0.85).
This commit is contained in:
parent
aede328bf0
commit
a9d3a4eb33
2 changed files with 6 additions and 1 deletions
|
|
@ -75,6 +75,11 @@ data:
|
|||
# Lowest score the fallback may pick when nothing clears SUMMARY_MIN_SCORE;
|
||||
# below this the brief is the honest "no significant developments" one.
|
||||
SUMMARY_FALLBACK_MIN_SCORE: "40"
|
||||
# Syndication dedupe (PR #55): identical wire copy from sister stations is
|
||||
# collapsed to one representative before the threshold/cap, so top_n buys
|
||||
# distinct stories. SUMMARY_DEDUPE=0 disables it.
|
||||
SUMMARY_DEDUPE: "1"
|
||||
SUMMARY_DEDUPE_SIMILARITY: "0.85"
|
||||
NEWS_SUMMARIZE_INTERVAL_S: "900"
|
||||
NEWS_SUMMARIZE_RUN_ON_START: "1"
|
||||
NEWS_RECAP_HOUR: "23"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ spec:
|
|||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: news-summarizer
|
||||
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-fa745ee3f7ae
|
||||
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-d04ddc9afacb
|
||||
imagePullPolicy: IfNotPresent
|
||||
# Loop: batch the last window, call Nous Portal, write summaries.
|
||||
command: ["python", "run_news_summarizer.py"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue