Commit Graph
11 Commits
Author SHA1 Message Date
Stefano Zini 3f020cd246 report: less repetition, cleaner shots, correct speakers
- docs/memory passes get the facts already reported, so topics stop repeating them
- regroup pass merges consecutive topics on the same subject
- shots: settle 1.5s after a scene change, yuvj444p, no duplicate screen per topic,
  click-to-zoom in report.html, OCR identifier misreads fixed by majority vote
- speakers: split diarized paragraphs where Teams captions change speaker
- talk time from those paragraphs, counting only detected speech
2026-11-10 14:23:59 +01:00
Stefano Zini ead33657c7 Apply ruff lint and rename cryptic identifiers to readable names 2026-11-05 09:09:20 +01:00
Stefano Zini 82b72b6c28 Add explanatory comments across codebase 2026-11-04 14:23:18 +01:00
Stefano Zini 0c760ecabf UI: move page to app/ui, model select next to 'Chiedi alle riunioni'; server/shots tweaks 2026-11-04 13:14:46 +01:00
Stefano Zini ca4a61d17e Remote Copilot models (italdesign BYOK + AI credits) for shots/report 2026-11-03 16:55:59 +01:00
Stefano Zini f855768f1f One folder per meeting (out/<name>/source.*, transcript.txt, meta.json, logs/), out/_global; speaker transcript from DB; throwaway Edge profile; skip shots only when all images exist 2026-11-03 16:02:05 +01:00
Stefano ZiniandClaude Opus 5.5 cbe111bc34 GUI: upload, live progress + ETA, delete; report thinking; docs twg fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 17:23:40 +01:00
Stefano ZiniandClaude Opus 5.5 edb8ee3731 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>
2026-11-02 16:46:57 +01:00
pinokioandClaude Opus 5.5 bc16b01232 Log prompt/generation speed of every LLM call in the Prefect log
llama.content() returns the message text and prints llama-server's timings
(prompt tokens + t/s, generated tokens + t/s); used by shots and report/memory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:55:20 +01:00
pinokioandClaude Opus 5.5 a64d3fb275 Hardware-aware install, per-step LLM profiles, tuned llama.cpp for 4 GB VRAM
Benchmarked on RTX 500 Ada 4 GB (~3.2 GB usable on Windows) + Core Ultra 7 155H.

- install.js: log GPU/VRAM/RAM, abort without NVIDIA >= 4 GB VRAM; always
  install Qwen3.5-4B Q4_K_S, Qwen3.6-35B-A3B only with >= 48 GB RAM.
- llama.py: model registry with vision (shots) and text (report/ask)
  profiles; KV q8, image tokens 1024-1536.
  - 35B: vision encoder on GPU, -ngl 30 (shot 142 -> ~50 s); text: -ub 2048.
  - 4B: vision encoder on GPU, FFN of layers 19-31 in RAM (shot 36 -> 22 s);
    text fully on GPU (~30 tok/s, report 4.5 min).
  - Per-step choice in out/llm.txt: default 4B for shots, biggest for report.
- flow.py: restart llama in text profile after shots (no mmproj for report).
- shots.py: prompt v3 (inline template + defined fields, Italian summary
  rules) and bounded json_schema; stops 4B loops, title 1/38 -> 36/38.
- server.py: shots/report model selects, POST /cancel + stop button, reaper
  thread that honours Prefect "Cancel" and closes runs whose process died.
- diarize.py: cut same-speaker paragraphs every 60 s (one 11-min paragraph
  truncated every report at 28:52); 8 threads; CUDA provider with CPU
  fallback via sherpa-onnx cuda12.cudnn9 wheel (CUDA path not yet verified).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:20:19 +01:00
pinokioandClaude Opus 5.5 4ff3e6fe14 Add Pinokio launcher for Teams meeting report pipeline
Pipeline code copied into app/; llama.py now uses launcher-local
llama.cpp (app/bin) and Qwen GGUF (app/models) instead of LM Studio.
install.js fetches ffmpeg, 7zip, llama.cpp CUDA 13, sherpa-onnx
diarization models, bge-m3 and Qwen3.6-35B-A3B, then pre-builds the
uv script environments. start.js serves the GUI on fixed port 18765
(hardcoded in the browser extension). reset.js keeps app/out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:29:33 +01:00