prompting

package
v0.6.113 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 16 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(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