Documentation
¶
Index ¶
Constants ¶
View Source
const ( PluginTitle = "rtp-agent.plugins.lemonslice" PluginVersion = "1.5.15" PluginPackage = "rtp-agent.plugins.lemonslice" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LemonSliceLLM ¶
type LemonSliceLLM struct {
// contains filtered or unexported fields
}
func NewLemonSliceLLM ¶
func NewLemonSliceLLM(apiKey string, model string) *LemonSliceLLM
func (*LemonSliceLLM) Chat ¶
func (l *LemonSliceLLM) Chat(ctx context.Context, chatCtx *llm.ChatContext, opts ...llm.ChatOption) (llm.LLMStream, error)
type LemonsliceAvatar ¶
type LemonsliceAvatar struct {
// contains filtered or unexported fields
}
func NewLemonsliceAvatar ¶
func NewLemonsliceAvatar(apiKey string) *LemonsliceAvatar
func (*LemonsliceAvatar) AvatarIdentity ¶ added in v0.0.15
func (a *LemonsliceAvatar) AvatarIdentity() string
func (*LemonsliceAvatar) Provider ¶ added in v0.0.15
func (a *LemonsliceAvatar) Provider() string
func (*LemonsliceAvatar) UpdateState ¶
func (a *LemonsliceAvatar) UpdateState(state agent.AvatarState) error
Click to show internal directories.
Click to hide internal directories.