SpeechToText transcribes audio to text.
| 18 | |
| 19 | // SpeechToText transcribes audio to text. |
| 20 | type SpeechToText interface { |
| 21 | Transcribe(ctx context.Context, audio []byte, format string, lang string) (string, error) |
| 22 | } |
| 23 | |
| 24 | // SpeechConfig holds STT configuration for the engine. |
| 25 | type SpeechCfg struct { |