MentorAgent Docs
Menu

ReferencePackage: Novior.MentorAgent

EvalRefusal enum

A refusal the mentor shows instead of an answer: what EvalTurn.ExpectRefusal expects and MentorEvalResult.Refusal reports.

View as Markdown
On this page

Namespace: Novior.MentorAgent.Evaluation. Package: Novior.MentorAgent.

public enum EvalRefusal

Terminal
dotnet add package Novior.MentorAgent
ValueNumberDescription
Any0Either refusal. Only for EvalTurn.ExpectRefusal: a result reports which one it was.
OutOfScope1The message is not about the application: MentorOptions.RefuseOutOfScope.
Guardrail2The message was judged unsafe — by the safety check (MentorOptions.EnableSafetyCheck), by the host's MentorOptions.InputGuardrail — or the model itself refused to answer it.