13 references to Throw
Microsoft.Extensions.AI.Evaluation.Quality (13)
ChatConversationEvaluator.cs (6)
44
_ =
Throw
.IfNull(modelResponse);
45
_ =
Throw
.IfNull(chatConfiguration);
215
_ =
Throw
.IfNull(message);
216
_ =
Throw
.IfNull(chatConfiguration);
271
_ =
Throw
.IfNull(response);
297
_ =
Throw
.IfNull(message);
CoherenceEvaluator.cs (1)
57
_ =
Throw
.IfNull(modelResponse);
EquivalenceEvaluator.cs (1)
82
_ =
Throw
.IfNull(modelResponse);
FluencyEvaluator.cs (1)
56
_ =
Throw
.IfNull(modelResponse);
GroundednessEvaluator.cs (1)
84
_ =
Throw
.IfNull(modelResponse);
RelevanceTruthAndCompletenessEvaluator.cs (1)
100
_ =
Throw
.IfNull(modelResponse);
SingleNumericMetricEvaluator.cs (2)
67
_ =
Throw
.IfNull(chatConfiguration);
68
_ =
Throw
.IfNull(result);