profile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 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 Profile

type Profile struct {
	Name             string
	RequiredSections []string
	ForbiddenPhrases []string
	DomainInvariants []string
	ExtraCategories  []schema.Category
}

Profile defines the rules for a named evaluation profile.

func Get

func Get(name string) (*Profile, error)

Get returns the built-in profile for the given name.

func (*Profile) FormatRulesForPrompt

func (p *Profile) FormatRulesForPrompt() string

FormatRulesForPrompt returns a string suitable for injection into the LLM system prompt.

Jump to

Keyboard shortcuts

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