assemblyai

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: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginTitle   = "rtp-agent.plugins.assemblyai"
	PluginVersion = "v0.4.2"
	PluginPackage = "rtp-agent.plugins.assemblyai"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AssemblyAISTT deprecated

type AssemblyAISTT = STT

Deprecated: use STT.

type AssemblyAISTTOption deprecated added in v0.0.15

type AssemblyAISTTOption = STTOption

Deprecated: use STTOption.

type STT added in v0.4.2

type STT struct {
	// contains filtered or unexported fields
}

func NewAssemblyAISTT deprecated

func NewAssemblyAISTT(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) Close added in v0.4.2

func (s *STT) Close() error

func (*STT) InputSampleRate added in v0.4.2

func (s *STT) InputSampleRate() uint32

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 WithAssemblyAISTTBaseURL added in v0.0.15

func WithAssemblyAISTTBaseURL(baseURL string) STTOption

func WithAssemblyAISTTContinuousPartials added in v0.0.15

func WithAssemblyAISTTContinuousPartials(enabled bool) STTOption

func WithAssemblyAISTTDomain added in v0.0.15

func WithAssemblyAISTTDomain(domain string) STTOption

func WithAssemblyAISTTEndOfTurnConfidenceThreshold added in v0.0.15

func WithAssemblyAISTTEndOfTurnConfidenceThreshold(threshold float64) STTOption

func WithAssemblyAISTTFormatTurns added in v0.0.15

func WithAssemblyAISTTFormatTurns(enabled bool) STTOption

func WithAssemblyAISTTInterruptionDelay added in v0.0.15

func WithAssemblyAISTTInterruptionDelay(ms int) STTOption

func WithAssemblyAISTTKeytermsPrompt added in v0.0.15

func WithAssemblyAISTTKeytermsPrompt(keyterms []string) STTOption

func WithAssemblyAISTTLanguageDetection added in v0.0.15

func WithAssemblyAISTTLanguageDetection(enabled bool) STTOption

func WithAssemblyAISTTMaxSpeakers added in v0.0.15

func WithAssemblyAISTTMaxSpeakers(maxSpeakers int) STTOption

func WithAssemblyAISTTMaxTurnSilence added in v0.0.15

func WithAssemblyAISTTMaxTurnSilence(ms int) STTOption

func WithAssemblyAISTTMinTurnSilence added in v0.0.15

func WithAssemblyAISTTMinTurnSilence(ms int) STTOption

func WithAssemblyAISTTModel added in v0.0.15

func WithAssemblyAISTTModel(model string) STTOption

func WithAssemblyAISTTPrompt added in v0.0.15

func WithAssemblyAISTTPrompt(prompt string) STTOption

func WithAssemblyAISTTSampleRate added in v0.0.15

func WithAssemblyAISTTSampleRate(sampleRate int) STTOption

func WithAssemblyAISTTSpeakerLabels added in v0.0.15

func WithAssemblyAISTTSpeakerLabels(enabled bool) STTOption

func WithAssemblyAISTTVADThreshold added in v0.0.15

func WithAssemblyAISTTVADThreshold(threshold float64) STTOption

Jump to

Keyboard shortcuts

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