Skip to content

EvalAssertionBase

PromptScript API


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

Extended by

Properties

field?

optional field?: string

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

Output property the assertion reads; absent means the whole response text


id

id: string

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

Assertion id, unique in the suite.

Pattern

^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$

Example

"decision-matches"