Initialize narratio Go module and CLI scaffold
This commit is contained in:
20
internal/adapters/whisperx/client.go
Normal file
20
internal/adapters/whisperx/client.go
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user