Documentation
¶
Overview ¶
Package stt turns voice notes into text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Transcriber ¶
type Transcriber interface {
// Transcribe reads an audio file (Telegram voice notes are OGG/Opus).
Transcribe(ctx context.Context, path string) (string, error)
}
func New ¶
func New(c config.Transcriber) (Transcriber, error)
New returns nil when transcription is disabled.
Click to show internal directories.
Click to hide internal directories.