Commit Graph

7 Commits

Author SHA1 Message Date
Igor Loskutov
426a5dd70d authentik script 2025-12-05 14:40:42 -05:00
Igor Loskutov
8a1699ab5b authentik script 2025-12-05 13:57:33 -05:00
Igor Loskutov
28d2168209 caddyfile.example 2025-12-05 12:38:10 -05:00
Igor Loskutov
3ef51ad1c8 install from scratch docs 2025-12-05 12:10:28 -05:00
Igor Loskutov
f9c8223e50 Merge branch 'main' into mathieu/reflector-doc 2025-12-03 13:26:40 -05:00
f6ca07505f feat: add transcript format parameter to GET endpoint (#709)
* feat: add transcript format parameter to GET endpoint

Add transcript_format query parameter to /v1/transcripts/{id} endpoint
with support for multiple output formats using discriminated unions.

Formats supported:
- text: Plain speaker dialogue (default)
- text-timestamped: Dialogue with [MM:SS] timestamps
- webvtt-named: WebVTT subtitles with participant names
- json: Structured segments with full metadata

Response models use Pydantic discriminated unions with transcript_format
as discriminator field. POST/PATCH endpoints return GetTranscriptWithParticipants
for minimal responses. GET endpoint returns format-specific models.

* Copy transcript format

* Regenerate types

* Fix transcript formats

* Don't throw inside try

* Remove any type

* Toast share copy errors

* transcript_format exhaustiveness and python idiomatic assert_never

* format_timestamp_mmss clear type definition

* Rename seconds_to_timestamp

* Test transcript format with overlapping speakers

* exact match for vtt multispeaker test

---------

Co-authored-by: Sergey Mankovsky <sergey@monadical.com>
Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
2025-11-26 18:51:14 +01:00
0ea7ffac89 feat: WIP doc (vibe started and iterated) 2025-11-24 20:39:22 -06:00