hedra

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type HedraAvatar

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

func NewHedraAvatar

func NewHedraAvatar(apiKey string) *HedraAvatar

func (*HedraAvatar) Start

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

func (*HedraAvatar) UpdateState

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

type HedraLLM

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

func NewHedraLLM

func NewHedraLLM(apiKey string, model string) *HedraLLM

func (*HedraLLM) Chat

func (l *HedraLLM) 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