GuardrailConditionType
Enums · AiDotNet.Safety.Guardrails
Specifies the type of condition a guardrail rule checks.
Fields
| Field | Summary |
|---|---|
GuardrailConditionType ContainsAll |
Text contains all of the specified patterns. |
GuardrailConditionType ContainsAny |
Text contains any of the specified patterns. |
GuardrailConditionType Custom |
Custom predicate function evaluates to true. |
GuardrailConditionType MaxLength |
Text exceeds a maximum character length. |
GuardrailConditionType MinLength |
Text is shorter than a minimum character length. |
GuardrailConditionType RegexMatch |
Text matches a regular expression pattern. |
int value__ |