Documentation
¶
Index ¶
- type GoogleLLM
- type GoogleSTT
- func (s *GoogleSTT) Capabilities() stt.STTCapabilities
- func (s *GoogleSTT) Label() string
- func (s *GoogleSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *GoogleSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type GoogleTTS
- func (t *GoogleTTS) Capabilities() tts.TTSCapabilities
- func (t *GoogleTTS) Label() string
- func (t *GoogleTTS) NumChannels() int
- func (t *GoogleTTS) SampleRate() int
- func (t *GoogleTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *GoogleTTS) 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 GoogleSTT ¶
type GoogleSTT struct {
// contains filtered or unexported fields
}
func NewGoogleSTT ¶
NewGoogleSTT creates a new STT client using Application Default Credentials, or by providing a path to a credentials JSON file.
func (*GoogleSTT) Capabilities ¶
func (s *GoogleSTT) Capabilities() stt.STTCapabilities
type GoogleTTS ¶
type GoogleTTS struct {
// contains filtered or unexported fields
}
func NewGoogleTTS ¶
NewGoogleTTS creates a new TTS client using Application Default Credentials, or by providing a path to a credentials JSON file.
func (*GoogleTTS) Capabilities ¶
func (t *GoogleTTS) Capabilities() tts.TTSCapabilities
func (*GoogleTTS) NumChannels ¶
func (*GoogleTTS) SampleRate ¶
func (*GoogleTTS) Synthesize ¶
Click to show internal directories.
Click to hide internal directories.