MCPcopy
hub / github.com/chenhg5/cc-connect / SpeechToText

Interface SpeechToText

core/speech.go:20–22  ·  view source on GitHub ↗

SpeechToText transcribes audio to text.

Source from the content-addressed store, hash-verified

18
19// SpeechToText transcribes audio to text.
20type 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.
25type SpeechCfg struct {

Callers 1

TranscribeAudioFunction · 0.65

Implementers 3

OpenAIWhispercore/speech.go
QwenASRcore/speech.go
GeminiSTTcore/speech.go

Calls

no outgoing calls

Tested by

no test coverage detected