Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASRConfig ¶
type ASRConfig struct {
Provider string
APIKey string
BaseURL string
SpeechModels []string
LanguageDetection bool
PollIntervalSec int
TimeoutSec int
}
ASRConfig configures speech-to-text preprocessing.
type ASRProvider ¶
type ASRProvider interface {
Transcribe(ctx context.Context, req ASRRequest) (ASRResult, error)
}
type ASRRequest ¶
type TTSConfig ¶
type TTSConfig struct {
Provider string
Voice string
Rate string
Volume string
Pitch string
OutputDir string
TimeoutSec int
}
TTSConfig configures text-to-speech postprocessing.
type TTSProvider ¶
type TTSProvider interface {
Synthesize(ctx context.Context, req TTSRequest) (TTSResult, error)
}
type TTSRequest ¶
Click to show internal directories.
Click to hide internal directories.