deepgram

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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 (*DeepgramTTS) Synthesize

func (t *DeepgramTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL