Skip to content

EvalDatasetAllow

PromptScript API


Defined in: core/src/types/eval.ts:34

A dataset scan rule the suite owner expects to fire, with the reason.

Properties

reason

reason: string

Defined in: core/src/types/eval.ts:46

Why the content is expected; copied into the report.

Min Length

1

Max Length

500


rule

rule: string

Defined in: core/src/types/eval.ts:40

Validator rule id whose findings are expected in the dataset.

Pattern

^PS\d{3,4}$

Example

"PS005"