feat: add local voice transcription pipeline

This commit is contained in:
2026-07-20 10:49:41 +08:00
parent f1e5fd8793
commit 8a88706ff9
16 changed files with 2389 additions and 28 deletions

View File

@@ -0,0 +1,8 @@
ALTER TABLE audio_segments
ADD COLUMN transcription_attempts INTEGER NOT NULL DEFAULT 0
CHECK (transcription_attempts >= 0),
ADD COLUMN processing_started_at TIMESTAMPTZ;
CREATE INDEX audio_segments_processing_queue_idx
ON audio_segments (created_at, id)
WHERE status = 'processing';