M3c: meeting summaries and agenda coverage via Ollama

- meetrec-server: Ollama integration (chat API, gemma4:12b, num_ctx
  32768); German structured summary (topic/points/decisions/to-dos)
  written to summary.md; agenda coverage returns strict JSON (covered,
  time, evidence) parsed defensively; both run automatically in a
  background thread after upload plus manual trigger endpoints
  (POST /summary, POST /agenda) with status tracking in the index
- phone: agenda input on the Record tab (one item per line, persisted)
  is uploaded with the recording; Library detail shows the summary and
  a per-item agenda checklist with timestamps and evidence quotes,
  with polling while the server generates and manual re-trigger buttons
- validated end-to-end against the live Ollama server: crafted German
  test meeting produced a correct structured summary and perfect agenda
  discrimination (covered items with correct timestamps + quotes,
  undiscussed item correctly false)
This commit is contained in:
2026-09-08 12:32:20 +02:00
parent 4a2aeb60d8
commit 2cf785746e
6 changed files with 385 additions and 9 deletions
+15
View File
@@ -37,6 +37,21 @@ The **Library** tab browses everything:
the server or from the local file), share, and delete with
confirmation. Refresh reloads both lists.
## Summaries and agenda (Ollama)
Enter **agenda items on the Record tab (one per line, persisted)** before
recording. After the recording uploads, meetrec-server automatically:
1. writes a German **summary** (gemma4:12b via your Ollama server):
topic, key points, decisions, to-dos — shown on the recording's
detail page
2. checks **which agenda items were actually discussed** — the detail
page shows a ✓/✗ checklist with the timestamp and a quote as evidence
Both can be re-triggered from the detail page ("Neu erstellen" /
"Agenda neu prüfen"). Note: very long meetings may exceed the LLM's
context window (the transcript is then truncated).
## Requirements
- Android Studio (or: SDK Platform 36, Build Tools 36, NDK 27.1, CMake 3.22.1)