assemblyai

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type AssemblyAISTT

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

func NewAssemblyAISTT

func NewAssemblyAISTT(apiKey string, opts ...AssemblyAISTTOption) *AssemblyAISTT

func (*AssemblyAISTT) Capabilities

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

func (*AssemblyAISTT) Label

func (s *AssemblyAISTT) Label() string

func (*AssemblyAISTT) Model added in v0.0.18

func (s *AssemblyAISTT) Model() string

func (*AssemblyAISTT) Provider added in v0.0.18

func (s *AssemblyAISTT) Provider() string

func (*AssemblyAISTT) Recognize

func (s *AssemblyAISTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)

func (*AssemblyAISTT) Stream

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

type AssemblyAISTTOption added in v0.0.15

type AssemblyAISTTOption func(*AssemblyAISTT)

func WithAssemblyAISTTBaseURL added in v0.0.15

func WithAssemblyAISTTBaseURL(baseURL string) AssemblyAISTTOption

func WithAssemblyAISTTContinuousPartials added in v0.0.15

func WithAssemblyAISTTContinuousPartials(enabled bool) AssemblyAISTTOption

func WithAssemblyAISTTDomain added in v0.0.15

func WithAssemblyAISTTDomain(domain string) AssemblyAISTTOption

func WithAssemblyAISTTEndOfTurnConfidenceThreshold added in v0.0.15

func WithAssemblyAISTTEndOfTurnConfidenceThreshold(threshold float64) AssemblyAISTTOption

func WithAssemblyAISTTFormatTurns added in v0.0.15

func WithAssemblyAISTTFormatTurns(enabled bool) AssemblyAISTTOption

func WithAssemblyAISTTInterruptionDelay added in v0.0.15

func WithAssemblyAISTTInterruptionDelay(ms int) AssemblyAISTTOption

func WithAssemblyAISTTKeytermsPrompt added in v0.0.15

func WithAssemblyAISTTKeytermsPrompt(keyterms []string) AssemblyAISTTOption

func WithAssemblyAISTTLanguageDetection added in v0.0.15

func WithAssemblyAISTTLanguageDetection(enabled bool) AssemblyAISTTOption

func WithAssemblyAISTTMaxSpeakers added in v0.0.15

func WithAssemblyAISTTMaxSpeakers(maxSpeakers int) AssemblyAISTTOption

func WithAssemblyAISTTMaxTurnSilence added in v0.0.15

func WithAssemblyAISTTMaxTurnSilence(ms int) AssemblyAISTTOption

func WithAssemblyAISTTMinTurnSilence added in v0.0.15

func WithAssemblyAISTTMinTurnSilence(ms int) AssemblyAISTTOption

func WithAssemblyAISTTModel added in v0.0.15

func WithAssemblyAISTTModel(model string) AssemblyAISTTOption

func WithAssemblyAISTTPrompt added in v0.0.15

func WithAssemblyAISTTPrompt(prompt string) AssemblyAISTTOption

func WithAssemblyAISTTSampleRate added in v0.0.15

func WithAssemblyAISTTSampleRate(sampleRate int) AssemblyAISTTOption

func WithAssemblyAISTTSpeakerLabels added in v0.0.15

func WithAssemblyAISTTSpeakerLabels(enabled bool) AssemblyAISTTOption

func WithAssemblyAISTTVADThreshold added in v0.0.15

func WithAssemblyAISTTVADThreshold(threshold float64) AssemblyAISTTOption

Jump to

Keyboard shortcuts

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