21 lines
558 B
Go
21 lines
558 B
Go
// Package whisperx declares the adapter contract for WhisperX transcription.
|
|
package whisperx
|
|
|
|
import "context"
|
|
|
|
// Client is a placeholder adapter interface for WhisperX interactions.
|
|
type Client interface {
|
|
Transcribe(ctx context.Context, req TranscriptionRequest) (TranscriptionResult, error)
|
|
}
|
|
|
|
// TranscriptionRequest is a placeholder transcription input.
|
|
type TranscriptionRequest struct {
|
|
Speaker string
|
|
AudioPath string
|
|
}
|
|
|
|
// TranscriptionResult is a placeholder transcription output.
|
|
type TranscriptionResult struct {
|
|
TranscriptPath string
|
|
}
|