Documentation
¶
Index ¶
- Constants
- type RtzrSTT
- func (s *RtzrSTT) Capabilities() stt.STTCapabilities
- func (s *RtzrSTT) Label() string
- func (s *RtzrSTT) Model() string
- func (s *RtzrSTT) Provider() string
- func (s *RtzrSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *RtzrSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type RtzrSTTOption
- func WithRtzrAPIBase(apiBase string) RtzrSTTOption
- func WithRtzrAccessToken(token string) RtzrSTTOption
- func WithRtzrActiveThreshold(activeThreshold float64) RtzrSTTOption
- func WithRtzrClientSecret(secret string) RtzrSTTOption
- func WithRtzrDomain(domain string) RtzrSTTOption
- func WithRtzrEPDTime(epdTime float64) RtzrSTTOption
- func WithRtzrKeywords(keywords []string) RtzrSTTOption
- func WithRtzrLanguage(language string) RtzrSTTOption
- func WithRtzrModel(model string) RtzrSTTOption
- func WithRtzrNoiseThreshold(noiseThreshold float64) RtzrSTTOption
- func WithRtzrSampleRate(sampleRate int) RtzrSTTOption
- func WithRtzrUsePunctuation(usePunctuation bool) RtzrSTTOption
- func WithRtzrWSBase(wsBase string) RtzrSTTOption
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.rtzr" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.rtzr" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RtzrSTT ¶
type RtzrSTT struct {
// contains filtered or unexported fields
}
func NewRtzrSTT ¶
func NewRtzrSTT(clientID string, opts ...RtzrSTTOption) *RtzrSTT
func (*RtzrSTT) Capabilities ¶
func (s *RtzrSTT) Capabilities() stt.STTCapabilities
type RtzrSTTOption ¶ added in v0.0.15
type RtzrSTTOption func(*RtzrSTT)
func WithRtzrAPIBase ¶ added in v0.0.15
func WithRtzrAPIBase(apiBase string) RtzrSTTOption
func WithRtzrAccessToken ¶ added in v0.0.15
func WithRtzrAccessToken(token string) RtzrSTTOption
func WithRtzrActiveThreshold ¶ added in v0.0.15
func WithRtzrActiveThreshold(activeThreshold float64) RtzrSTTOption
func WithRtzrClientSecret ¶ added in v0.0.15
func WithRtzrClientSecret(secret string) RtzrSTTOption
func WithRtzrDomain ¶ added in v0.0.15
func WithRtzrDomain(domain string) RtzrSTTOption
func WithRtzrEPDTime ¶ added in v0.0.15
func WithRtzrEPDTime(epdTime float64) RtzrSTTOption
func WithRtzrKeywords ¶ added in v0.0.15
func WithRtzrKeywords(keywords []string) RtzrSTTOption
func WithRtzrLanguage ¶ added in v0.0.15
func WithRtzrLanguage(language string) RtzrSTTOption
func WithRtzrModel ¶ added in v0.0.15
func WithRtzrModel(model string) RtzrSTTOption
func WithRtzrNoiseThreshold ¶ added in v0.0.15
func WithRtzrNoiseThreshold(noiseThreshold float64) RtzrSTTOption
func WithRtzrSampleRate ¶ added in v0.0.15
func WithRtzrSampleRate(sampleRate int) RtzrSTTOption
func WithRtzrUsePunctuation ¶ added in v0.0.15
func WithRtzrUsePunctuation(usePunctuation bool) RtzrSTTOption
func WithRtzrWSBase ¶ added in v0.0.15
func WithRtzrWSBase(wsBase string) RtzrSTTOption
Click to show internal directories.
Click to hide internal directories.