Documentation
¶
Index ¶
- Constants
- type HumeLLM
- type HumeTTS
- func (t *HumeTTS) Capabilities() tts.TTSCapabilities
- func (t *HumeTTS) Label() string
- func (t *HumeTTS) Model() string
- func (t *HumeTTS) NumChannels() int
- func (t *HumeTTS) Provider() string
- func (t *HumeTTS) SampleRate() int
- func (t *HumeTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *HumeTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
- type HumeTTSOption
- func WithHumeTTSAudioFormat(audioFormat string) HumeTTSOption
- func WithHumeTTSBaseURL(baseURL string) HumeTTSOption
- func WithHumeTTSContextGenerationID(generationID string) HumeTTSOption
- func WithHumeTTSContextUtterances(context []HumeTTSUtterance) HumeTTSOption
- func WithHumeTTSDescription(description string) HumeTTSOption
- func WithHumeTTSInstantMode(enabled bool) HumeTTSOption
- func WithHumeTTSModelVersion(modelVersion string) HumeTTSOption
- func WithHumeTTSSpeed(speed float64) HumeTTSOption
- func WithHumeTTSTrailingSilence(trailingSilence float64) HumeTTSOption
- func WithHumeTTSVoiceID(id string, provider string) HumeTTSOption
- func WithHumeTTSVoiceName(name string, provider string) HumeTTSOption
- type HumeTTSUtterance
- type HumeTTSVoice
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.hume" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.hume" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HumeTTS ¶
type HumeTTS struct {
// contains filtered or unexported fields
}
func NewHumeTTS ¶
func NewHumeTTS(apiKey string, model string, opts ...HumeTTSOption) *HumeTTS
func (*HumeTTS) Capabilities ¶
func (t *HumeTTS) Capabilities() tts.TTSCapabilities
func (*HumeTTS) NumChannels ¶
func (*HumeTTS) SampleRate ¶
func (*HumeTTS) Synthesize ¶
type HumeTTSOption ¶ added in v0.0.15
type HumeTTSOption func(*HumeTTS)
func WithHumeTTSAudioFormat ¶ added in v0.0.15
func WithHumeTTSAudioFormat(audioFormat string) HumeTTSOption
func WithHumeTTSBaseURL ¶ added in v0.0.15
func WithHumeTTSBaseURL(baseURL string) HumeTTSOption
func WithHumeTTSContextGenerationID ¶ added in v0.0.15
func WithHumeTTSContextGenerationID(generationID string) HumeTTSOption
func WithHumeTTSContextUtterances ¶ added in v0.0.15
func WithHumeTTSContextUtterances(context []HumeTTSUtterance) HumeTTSOption
func WithHumeTTSDescription ¶ added in v0.0.15
func WithHumeTTSDescription(description string) HumeTTSOption
func WithHumeTTSInstantMode ¶ added in v0.0.15
func WithHumeTTSInstantMode(enabled bool) HumeTTSOption
func WithHumeTTSModelVersion ¶ added in v0.0.15
func WithHumeTTSModelVersion(modelVersion string) HumeTTSOption
func WithHumeTTSSpeed ¶ added in v0.0.15
func WithHumeTTSSpeed(speed float64) HumeTTSOption
func WithHumeTTSTrailingSilence ¶ added in v0.0.15
func WithHumeTTSTrailingSilence(trailingSilence float64) HumeTTSOption
func WithHumeTTSVoiceID ¶ added in v0.0.15
func WithHumeTTSVoiceID(id string, provider string) HumeTTSOption
func WithHumeTTSVoiceName ¶ added in v0.0.15
func WithHumeTTSVoiceName(name string, provider string) HumeTTSOption
type HumeTTSUtterance ¶ added in v0.0.15
type HumeTTSUtterance struct {
Text string
Description string
Speed *float64
Voice *HumeTTSVoice
TrailingSilence *float64
}
type HumeTTSVoice ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.