prompting

package
v0.5.13 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposePromptPrefix added in v0.3.12

func ComposePromptPrefix(loader *Loader, promptPrefix string, personality string, noReplyToken string) (string, error)

Types

type Loader

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

func DefaultLoader

func DefaultLoader() *Loader

func NewLoader

func NewLoader(root string) *Loader

func (*Loader) RenderFile

func (l *Loader) RenderFile(name string, data any) (string, error)

func (*Loader) RenderString

func (l *Loader) RenderString(name, raw string, data any) (string, error)

func (*Loader) Root

func (l *Loader) Root() string

Jump to

Keyboard shortcuts

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