Meeting title: Teams topic first, else from the transcript; never from shots

One shot copied a shared AWS page title into meeting_title; it became the
report title and the docs search query, pulling off-topic Confluence pages
into the summaries. Shots no longer emit the meta title; report/docs ignore
old "video" metas and fall back to the LLM title from the transcript topics
(docs then searches with transcript-derived queries only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Stefano Zini
2026-11-02 16:46:57 +01:00
co-authored by Claude Opus 5.5
parent bc16b01232
commit edb8ee3731
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ def run(name, window_words=3000):
usable = lambda s: s["kind"] in CONTENT_KINDS and (not crop_ok or (s.get("view") or "").startswith("view_"))
evs = db.events(name, "meta", "present", "share_start", "share_stop", "chat", "hand")
names = db.speaker_names(name)
meta = [json.loads(e["text"]) for e in evs if e["kind"] == "meta"]
meta = [json.loads(e["text"]) for e in evs if e["kind"] == "meta" and e["who_key"] != "video"] # Teams topic only; else LLM title from transcript
title = (meta[-1].get("title") or "") if meta else ""
shares = _shares(evs, dur)
att, src, counts = {}, set(), {}