Documentation
¶
Index ¶
- Constants
- type GroqLLM
- type GroqLLMOption
- type GroqSTT
- func (s *GroqSTT) Capabilities() stt.STTCapabilities
- func (s *GroqSTT) Label() string
- func (s *GroqSTT) Model() string
- func (s *GroqSTT) Provider() string
- func (s *GroqSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)
- func (s *GroqSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)
- type GroqSTTOption
- type GroqTTS
- func (t *GroqTTS) Capabilities() tts.TTSCapabilities
- func (t *GroqTTS) Label() string
- func (t *GroqTTS) Model() string
- func (t *GroqTTS) NumChannels() int
- func (t *GroqTTS) Provider() string
- func (t *GroqTTS) SampleRate() int
- func (t *GroqTTS) Stream(ctx context.Context) (tts.SynthesizeStream, error)
- func (t *GroqTTS) Synthesize(ctx context.Context, text string) (tts.ChunkedStream, error)
- func (t *GroqTTS) UpdateOptions(model string, voice string)
- type GroqTTSOption
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.groq" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.groq" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroqLLM ¶
type GroqLLM struct {
// contains filtered or unexported fields
}
func NewGroqLLM ¶
func NewGroqLLM(apiKey string, model string, opts ...GroqLLMOption) *GroqLLM
type GroqLLMOption ¶ added in v0.0.17
type GroqLLMOption func(*GroqLLM)
func WithGroqLLMBaseURL ¶ added in v0.0.17
func WithGroqLLMBaseURL(baseURL string) GroqLLMOption
func WithGroqLLMReasoningEffort ¶ added in v0.0.17
func WithGroqLLMReasoningEffort(reasoningEffort string) GroqLLMOption
type GroqSTT ¶ added in v0.0.6
type GroqSTT struct {
// contains filtered or unexported fields
}
func NewGroqSTT ¶ added in v0.0.6
func NewGroqSTT(apiKey string, model string, opts ...GroqSTTOption) (*GroqSTT, error)
func (*GroqSTT) Capabilities ¶ added in v0.0.6
func (s *GroqSTT) Capabilities() stt.STTCapabilities
type GroqSTTOption ¶ added in v0.0.17
type GroqSTTOption func(*GroqSTT)
func WithGroqSTTBaseURL ¶ added in v0.0.17
func WithGroqSTTBaseURL(baseURL string) GroqSTTOption
func WithGroqSTTDetectLanguage ¶ added in v0.0.17
func WithGroqSTTDetectLanguage(detectLanguage bool) GroqSTTOption
func WithGroqSTTLanguage ¶ added in v0.0.17
func WithGroqSTTLanguage(language string) GroqSTTOption
func WithGroqSTTPrompt ¶ added in v0.0.17
func WithGroqSTTPrompt(prompt string) GroqSTTOption
type GroqTTS ¶ added in v0.0.15
type GroqTTS struct {
// contains filtered or unexported fields
}
func NewGroqTTS ¶ added in v0.0.15
func NewGroqTTS(apiKey string, voice string, opts ...GroqTTSOption) *GroqTTS
func (*GroqTTS) Capabilities ¶ added in v0.0.15
func (t *GroqTTS) Capabilities() tts.TTSCapabilities
func (*GroqTTS) NumChannels ¶ added in v0.0.15
func (*GroqTTS) SampleRate ¶ added in v0.0.15
func (*GroqTTS) Synthesize ¶ added in v0.0.15
func (*GroqTTS) UpdateOptions ¶ added in v0.0.17
type GroqTTSOption ¶ added in v0.0.15
type GroqTTSOption func(*GroqTTS)
func WithGroqTTSBaseURL ¶ added in v0.0.15
func WithGroqTTSBaseURL(baseURL string) GroqTTSOption
func WithGroqTTSModel ¶ added in v0.0.15
func WithGroqTTSModel(model string) GroqTTSOption
func WithGroqTTSVoice ¶ added in v0.0.15
func WithGroqTTSVoice(voice string) GroqTTSOption
Click to show internal directories.
Click to hide internal directories.