Documentation
¶
Index ¶
- type DeepgramSTT
- func (s *DeepgramSTT) Capabilities() stt.STTCapabilities
- func (s *DeepgramSTT) Label() string
- func (s *DeepgramSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, languageStr string) (*stt.SpeechEvent, error)
- func (s *DeepgramSTT) Stream(ctx context.Context, languageStr string) (stt.RecognizeStream, error)
- type DeepgramTTS
- func (t *DeepgramTTS) Capabilities() tts.TTSCapabilities
- func (t *DeepgramTTS) Label() string
- func (t *DeepgramTTS) NumChannels() int
- func (t *DeepgramTTS) SampleRate() int
- func (t *DeepgramTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *DeepgramTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeepgramSTT ¶
type DeepgramSTT struct {
// contains filtered or unexported fields
}
func NewDeepgramSTT ¶
func NewDeepgramSTT(apiKey string, model string) *DeepgramSTT
func (*DeepgramSTT) Capabilities ¶
func (s *DeepgramSTT) Capabilities() stt.STTCapabilities
func (*DeepgramSTT) Label ¶
func (s *DeepgramSTT) Label() string
func (*DeepgramSTT) Recognize ¶
func (s *DeepgramSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, languageStr string) (*stt.SpeechEvent, error)
func (*DeepgramSTT) Stream ¶
func (s *DeepgramSTT) Stream(ctx context.Context, languageStr string) (stt.RecognizeStream, error)
type DeepgramTTS ¶
type DeepgramTTS struct {
// contains filtered or unexported fields
}
func NewDeepgramTTS ¶
func NewDeepgramTTS(apiKey string, model string) *DeepgramTTS
func (*DeepgramTTS) Capabilities ¶
func (t *DeepgramTTS) Capabilities() tts.TTSCapabilities
func (*DeepgramTTS) Label ¶
func (t *DeepgramTTS) Label() string
func (*DeepgramTTS) NumChannels ¶
func (t *DeepgramTTS) NumChannels() int
func (*DeepgramTTS) SampleRate ¶
func (t *DeepgramTTS) SampleRate() int
func (*DeepgramTTS) Stream ¶
func (t *DeepgramTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
func (*DeepgramTTS) Synthesize ¶
func (t *DeepgramTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Click to show internal directories.
Click to hide internal directories.