Skip to content

ScanOptions

PromptScript API


Defined in: eval/src/dataset/scan.ts:32

Options of scanDatasetRow.

Properties

allow?

optional allow?: readonly EvalDatasetAllow[]

Defined in: eval/src/dataset/scan.ts:38

Rules whose findings the suite expects, from dataset.allow


allowedPatterns?

optional allowedPatterns?: readonly string[]

Defined in: eval/src/dataset/scan.ts:36

validation.allowedPatterns of the project, the only validation setting the scan honors


allowPii?

optional allowPii?: EvalDatasetAllowPii

Defined in: eval/src/dataset/scan.ts:40

The suite’s decision that the dataset may hold personal data


file

file: string

Defined in: eval/src/dataset/scan.ts:34

Dataset path relative to the project root