Skip to content

PromptPolicyMatch

PromptScript API


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

Selects the prompts a policy applies to. Keys combine with AND; no match selects every prompt.

Properties

dataClasses?

optional dataClasses?: string[]

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

Any effective data class is one of these

Min Items

1


domains?

optional domains?: string[]

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

Effective domain is one of these

Min Items

1


minRisk?

optional minRisk?: RiskLevel

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

Policy risk is at or above this level