Documentation
¶
Index ¶
- Constants
- type AssemblyAISTTdeprecated
- type AssemblyAISTTOptiondeprecated
- type STT
- func (s *STT) Capabilities() stt.STTCapabilities
- func (s *STT) Close() error
- func (s *STT) InputSampleRate() uint32
- 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
- func WithAssemblyAISTTBaseURL(baseURL string) STTOption
- func WithAssemblyAISTTContinuousPartials(enabled bool) STTOption
- func WithAssemblyAISTTDomain(domain string) STTOption
- func WithAssemblyAISTTEndOfTurnConfidenceThreshold(threshold float64) STTOption
- func WithAssemblyAISTTFormatTurns(enabled bool) STTOption
- func WithAssemblyAISTTInterruptionDelay(ms int) STTOption
- func WithAssemblyAISTTKeytermsPrompt(keyterms []string) STTOption
- func WithAssemblyAISTTLanguageDetection(enabled bool) STTOption
- func WithAssemblyAISTTMaxSpeakers(maxSpeakers int) STTOption
- func WithAssemblyAISTTMaxTurnSilence(ms int) STTOption
- func WithAssemblyAISTTMinTurnSilence(ms int) STTOption
- func WithAssemblyAISTTModel(model string) STTOption
- func WithAssemblyAISTTPrompt(prompt string) STTOption
- func WithAssemblyAISTTSampleRate(sampleRate int) STTOption
- func WithAssemblyAISTTSpeakerLabels(enabled bool) STTOption
- func WithAssemblyAISTTVADThreshold(threshold float64) STTOption
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 (*STT) Capabilities ¶ added in v0.4.2
func (s *STT) Capabilities() stt.STTCapabilities
func (*STT) InputSampleRate ¶ added in v0.4.2
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 WithAssemblyAISTTBaseURL ¶ added in v0.0.15
func WithAssemblyAISTTContinuousPartials ¶ added in v0.0.15
func WithAssemblyAISTTDomain ¶ added in v0.0.15
func WithAssemblyAISTTEndOfTurnConfidenceThreshold ¶ added in v0.0.15
func WithAssemblyAISTTFormatTurns ¶ added in v0.0.15
func WithAssemblyAISTTInterruptionDelay ¶ added in v0.0.15
func WithAssemblyAISTTKeytermsPrompt ¶ added in v0.0.15
func WithAssemblyAISTTLanguageDetection ¶ added in v0.0.15
func WithAssemblyAISTTMaxSpeakers ¶ added in v0.0.15
func WithAssemblyAISTTMaxTurnSilence ¶ added in v0.0.15
func WithAssemblyAISTTMinTurnSilence ¶ added in v0.0.15
func WithAssemblyAISTTModel ¶ added in v0.0.15
func WithAssemblyAISTTPrompt ¶ added in v0.0.15
func WithAssemblyAISTTSampleRate ¶ added in v0.0.15
func WithAssemblyAISTTSpeakerLabels ¶ added in v0.0.15
func WithAssemblyAISTTVADThreshold ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.