simple

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	systemprompt.BaseGenerator
	// contains filtered or unexported fields
}

Generator is CRISPE system prompt generator

func New

func New(content string, options ...Option) *Generator

New returns a new system prompt Generator

func (*Generator) Generate

func (g *Generator) Generate() string

type Option

type Option = func(g *Generator)

func WithContextProviders

func WithContextProviders(providers ...systemprompt.ContextProvider) Option

WithContextProviders set Generator context pproviders

Jump to

Keyboard shortcuts

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