Skip to content

EvalFinding

PromptScript API


Defined in: eval/src/errors.ts:139

A problem found while loading or checking suites and datasets.

Properties

code

code: EvalCode

Defined in: eval/src/errors.ts:141

Eval code


file?

optional file?: string

Defined in: eval/src/errors.ts:147

File the finding is about, relative to the project root


line?

optional line?: number

Defined in: eval/src/errors.ts:149

Line in the file


message

message: string

Defined in: eval/src/errors.ts:145

What is wrong and what to do; names keys and ids, never dataset values


severity

severity: EvalFindingSeverity

Defined in: eval/src/errors.ts:143

Errors stop a run before any call