feat: persist voice samples to disk, generate VTT, cleanup after analysis
This commit is contained in:
@@ -30,11 +30,12 @@ type N8nConfig struct {
|
||||
}
|
||||
|
||||
type SpeechConfig struct {
|
||||
Provider string `envconfig:"STT_PROVIDER" default:"openai"`
|
||||
OpenAIKey string `envconfig:"OPENAI_API_KEY"`
|
||||
WhisperModel string `envconfig:"WHISPER_MODEL" default:"whisper-1"`
|
||||
Language string `envconfig:"WHISPER_LANGUAGE" default:""`
|
||||
FFmpegPath string `envconfig:"FFMPEG_PATH" default:"ffmpeg"`
|
||||
Provider string `envconfig:"STT_PROVIDER" default:"openai"`
|
||||
OpenAIKey string `envconfig:"OPENAI_API_KEY"`
|
||||
WhisperModel string `envconfig:"WHISPER_MODEL" default:"whisper-1"`
|
||||
Language string `envconfig:"WHISPER_LANGUAGE" default:""`
|
||||
FFmpegPath string `envconfig:"FFMPEG_PATH" default:"ffmpeg"`
|
||||
VoiceStorePath string `envconfig:"VOICE_STORE_PATH" default:"/tmp/gw_telegram/voice"`
|
||||
}
|
||||
|
||||
type RedisConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user