promptPolicyRisk()
promptPolicyRisk(
subject,policies):RiskLevel
Defined in: validator/src/policy/prompt-evaluator.ts:204
The policy risk of a prompt: the higher of its effective risk (unset counts as low) and the floor of every risk-floor policy, whatever its severity.
Parameters
subject
policies
readonly PolicyDefinition[]