simli

package
v0.0.57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginTitle   = "rtp-agent.plugins.simli"
	PluginVersion = "1.5.15"
	PluginPackage = "rtp-agent.plugins.simli"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SimliAvatar

type SimliAvatar struct {
	// contains filtered or unexported fields
}

func NewSimliAvatar

func NewSimliAvatar(apiKey string) *SimliAvatar

func (*SimliAvatar) AvatarIdentity added in v0.0.15

func (a *SimliAvatar) AvatarIdentity() string

func (*SimliAvatar) Provider added in v0.0.15

func (a *SimliAvatar) Provider() string

func (*SimliAvatar) Start

func (a *SimliAvatar) Start(ctx context.Context) error

func (*SimliAvatar) UpdateState

func (a *SimliAvatar) UpdateState(state agent.AvatarState) error

type SimliLLM

type SimliLLM struct {
	// contains filtered or unexported fields
}

func NewSimliLLM

func NewSimliLLM(apiKey string, model string) *SimliLLM

func (*SimliLLM) Chat

func (l *SimliLLM) Chat(ctx context.Context, chatCtx *llm.ChatContext, opts ...llm.ChatOption) (llm.LLMStream, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL