evaluation

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Evaluate

func Evaluate(ctx context.Context, out Printer, agentFilename, evalsDir string, runConfig *config.RuntimeConfig) error

func Save

func Save(sess *session.Session) (string, error)

Types

type Printer added in v1.9.27

type Printer interface {
	Printf(format string, a ...any)
}

type Result

type Result struct {
	EvalFile     string
	FirstMessage string
	Score        Score
	Cost         float64
	OutputTokens int64
}

type Score

type Score struct {
	ToolTrajectoryScore float64
	Rouge1Score         float64
}

Jump to

Keyboard shortcuts

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