fal

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 FalSTT deprecated

type FalSTT = STT

Deprecated: use STT.

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 NewFalSTT deprecated

func NewFalSTT(apiKey string, opts ...STTOption) *STT

Deprecated: use NewSTT.

func NewSTT added in v0.4.2

func NewSTT(apiKey string, opts ...STTOption) *STT

func (*STT) Capabilities added in v0.4.2

func (s *STT) Capabilities() stt.STTCapabilities

func (*STT) Label added in v0.4.2

func (s *STT) Label() string

func (*STT) Model added in v0.4.2

func (s *STT) Model() string

func (*STT) Provider added in v0.4.2

func (s *STT) Provider() string

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) Stream added in v0.4.2

func (s *STT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)

func (*STT) UpdateOptions added in v0.4.2

func (s *STT) UpdateOptions(opts ...STTOption)

type STTOption added in v0.4.2

type STTOption func(*STT)

func WithFalSTTChunkLevel added in v0.0.15

func WithFalSTTChunkLevel(chunkLevel string) STTOption

func WithFalSTTLanguage added in v0.0.15

func WithFalSTTLanguage(language string) STTOption

func WithFalSTTTask added in v0.0.15

func WithFalSTTTask(task string) STTOption

func WithFalSTTVersion added in v0.0.15

func WithFalSTTVersion(version string) STTOption

Jump to

Keyboard shortcuts

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