Skip to content

RiskFloorRow

PromptScript API


Defined in: core/src/types/policy.ts:112

One row of a risk floor. The row matches when any of its conditions matches.

Min Properties

2

Properties

dataClasses?

optional dataClasses?: string[]

Defined in: core/src/types/policy.ts:117

Any effective data class is one of these

Min Items

1


domains?

optional domains?: string[]

Defined in: core/src/types/policy.ts:122

Effective domain is one of these

Min Items

1


inputTypes?

optional inputTypes?: ("string" | "number" | "boolean" | "enum")[]

Defined in: core/src/types/policy.ts:127

Any input has one of these types

Min Items

1


minimum

minimum: RiskLevel

Defined in: core/src/types/policy.ts:129

Lowest policy risk of a matching prompt