Implement WhisperX HTTP adapter

This commit is contained in:
2026-05-03 15:29:34 -05:00
parent c2a715d3f6
commit 24833194db
4 changed files with 603 additions and 1 deletions

View File

@@ -1,7 +1,10 @@
// Package whisperx declares the adapter contract for WhisperX transcription.
package whisperx
import "context"
import (
"context"
"time"
)
// TODO: implement a real WhisperX HTTP client adapter.
@@ -20,5 +23,8 @@ type TranscribeRequest struct {
// TranscribeResult describes the transcript output and adapter metadata.
type TranscribeResult struct {
OutputRawTranscriptPath string
Attempts int
HTTPStatus int
Duration time.Duration
Metadata map[string]any
}