public static class AIGuard.Evaluation extends Object
The evaluation provides three possible actions:
AIGuard.Action.ALLOW - Content is safe to proceed
AIGuard.Action.DENY - Content should be blocked
AIGuard.Action.ABORT - Execution should be immediately terminated
| Constructor and Description |
|---|
Evaluation(AIGuard.Action action,
String reason)
Creates a new evaluation result.
|
| Modifier and Type | Method and Description |
|---|---|
AIGuard.Action |
getAction()
Returns the recommended action for the evaluated content.
|
String |
getReason()
Returns the human-readable reasoning for the evaluation decision.
|
public Evaluation(AIGuard.Action action, String reason)
action - the recommended action for the evaluated contentreason - human-readable explanation for the decisionpublic AIGuard.Action getAction()
public String getReason()