Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteReport ¶
WriteReport writes a self-contained HTML report.
Types ¶
type Case ¶
type Case struct {
ID string `json:"id"`
Input string `json:"input"`
Expect map[string]interface{} `json:"expect"`
}
Case is a single expected output.
type Cell ¶
type Cell struct {
Model string
CaseID string
Input string
Output string
Error string
Passed bool
Failed bool
Skipped bool
Duration time.Duration
}
Cell is one model x case result.
type Report ¶
type Report struct {
Suite string
Prompt string
Models []string
Timestamp time.Time
Cells []Cell
Failed int
Total int
}
Report is a full eval run.
Click to show internal directories.
Click to hide internal directories.