modifiers

package
v2.14.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedModifier = errors.New("unsupported modifier")
)

Functions

func GetChatModifier

func GetChatModifier(config *viper.Viper, modifier string) (string, error)

Types

type Message

type Message struct {
	Role string `yaml:"role"`
	Text string `yaml:"text"`
}

type Prompt

type Prompt struct {
	Source     string    `yaml:"source"`
	Version    string    `yaml:"version"`
	License    string    `yaml:"license"`
	LicenseURL string    `yaml:"licenseUrl"`
	Messages   []Message `yaml:"messages"`
}

Jump to

Keyboard shortcuts

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