feat(export): Volltranskript als Anhang in DOCX/PDF (meeting/phone-call/interview)

LLM komprimiert das Transkript bisher auf wenige Sätze + 20 Excerpt-Einträge
— der Rest fiel aus dem Dokument. Pipeline reicht Whisper-Segmente jetzt an
build_docx/build_pdf durch; Profile mit `docx.include_full_transcript: true`
hängen das komplette Transkript (9 pt) am Ende an.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
root
2026-05-18 14:35:34 +00:00
co-authored by Claude Opus 4.7
parent 60fbdbf036
commit 5f0b41161e
8 changed files with 99 additions and 10 deletions
+16 -4
View File
@@ -146,16 +146,28 @@ class MacClient:
job_id,
)
async def export_docx(self, data: dict, profile: str | None = None, job_id: int | None = None) -> bytes:
async def export_docx(
self,
data: dict,
profile: str | None = None,
job_id: int | None = None,
full_transcript: list[dict] | None = None,
) -> bytes:
return await self._post_bytes_retry(
f"{self.base_url}/api/export/docx",
{"data": data, "profile": profile},
{"data": data, "profile": profile, "full_transcript": full_transcript or []},
job_id,
)
async def export_pdf(self, data: dict, profile: str | None = None, job_id: int | None = None) -> bytes:
async def export_pdf(
self,
data: dict,
profile: str | None = None,
job_id: int | None = None,
full_transcript: list[dict] | None = None,
) -> bytes:
return await self._post_bytes_retry(
f"{self.base_url}/api/export/pdf",
{"data": data, "profile": profile},
{"data": data, "profile": profile, "full_transcript": full_transcript or []},
job_id,
)