Documentation
¶
Index ¶
- Constants
- type FalSTTdeprecated
- type FalSTTOptiondeprecated
- type STT
- func (s *STT) Capabilities() stt.STTCapabilities
- func (s *STT) Label() string
- func (s *STT) Model() string
- func (s *STT) Provider() string
- func (s *STT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *STT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- func (s *STT) UpdateOptions(opts ...STTOption)
- type STTOption
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.fal" PluginVersion = "v0.4.2" PluginPackage = "rtp-agent.plugins.fal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FalSTTOption
deprecated
added in
v0.0.15
type FalSTTOption = STTOption
Deprecated: use STTOption.
type STT ¶ added in v0.4.2
type STT struct {
// contains filtered or unexported fields
}
func (*STT) Capabilities ¶ added in v0.4.2
func (s *STT) Capabilities() stt.STTCapabilities
func (*STT) Recognize ¶ added in v0.4.2
func (s *STT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
func (*STT) UpdateOptions ¶ added in v0.4.2
type STTOption ¶ added in v0.4.2
type STTOption func(*STT)
func WithFalSTTChunkLevel ¶ added in v0.0.15
func WithFalSTTLanguage ¶ added in v0.0.15
func WithFalSTTTask ¶ added in v0.0.15
func WithFalSTTVersion ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.