EvalRefusal enum
A refusal the mentor shows instead of an answer: what EvalTurn.ExpectRefusal expects and MentorEvalResult.Refusal reports.
On this page
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Evaluation. Package: Novior.MentorAgent.
public enum EvalRefusal
dotnet add package Novior.MentorAgentValues
Section titled “Values”| Value | Number | Description |
|---|---|---|
Any | 0 | Either refusal. Only for EvalTurn.ExpectRefusal: a result reports which one it was. |
OutOfScope | 1 | The message is not about the application: MentorOptions.RefuseOutOfScope. |
Guardrail | 2 | The message was judged unsafe — by the safety check (MentorOptions.EnableSafetyCheck), by the host's MentorOptions.InputGuardrail — or the model itself refused to answer it. |
