Documentation
¶
Index ¶
- Constants
- type UpliftAILLM
- type UpliftAITTS
- func (t *UpliftAITTS) Capabilities() tts.TTSCapabilities
- func (t *UpliftAITTS) Label() string
- func (t *UpliftAITTS) NumChannels() int
- func (t *UpliftAITTS) SampleRate() int
- func (t *UpliftAITTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *UpliftAITTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.upliftai" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.upliftai" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpliftAILLM ¶
type UpliftAILLM struct {
// contains filtered or unexported fields
}
func NewUpliftAILLM ¶
func NewUpliftAILLM(apiKey string, model string) *UpliftAILLM
func (*UpliftAILLM) Chat ¶
func (l *UpliftAILLM) Chat(ctx context.Context, chatCtx *llm.ChatContext, opts ...llm.ChatOption) (llm.LLMStream, error)
type UpliftAITTS ¶
type UpliftAITTS struct {
// contains filtered or unexported fields
}
func NewUpliftAITTS ¶
func NewUpliftAITTS(apiKey string, voice string) *UpliftAITTS
func (*UpliftAITTS) Capabilities ¶
func (t *UpliftAITTS) Capabilities() tts.TTSCapabilities
func (*UpliftAITTS) Label ¶
func (t *UpliftAITTS) Label() string
func (*UpliftAITTS) NumChannels ¶
func (t *UpliftAITTS) NumChannels() int
func (*UpliftAITTS) SampleRate ¶
func (t *UpliftAITTS) SampleRate() int
func (*UpliftAITTS) Stream ¶
func (t *UpliftAITTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
func (*UpliftAITTS) Synthesize ¶
func (t *UpliftAITTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
Click to show internal directories.
Click to hide internal directories.