25 references to IfNull
Microsoft.Extensions.AI.Evaluation.Quality (25)
AIToolExtensions.cs (1)
18_ = Throw.IfNull(toolDefinitions);
ChatMessageExtensions.cs (1)
15_ = Throw.IfNull(messages);
ChatResponseExtensions.cs (2)
16_ = Throw.IfNull(modelResponse); 25_ = Throw.IfNull(modelResponse);
CoherenceEvaluator.cs (2)
74_ = Throw.IfNull(modelResponse); 75_ = Throw.IfNull(chatConfiguration);
CompletenessEvaluator.cs (2)
71_ = Throw.IfNull(modelResponse); 72_ = Throw.IfNull(chatConfiguration);
EquivalenceEvaluator.cs (2)
70_ = Throw.IfNull(modelResponse); 71_ = Throw.IfNull(chatConfiguration);
FluencyEvaluator.cs (2)
68_ = Throw.IfNull(modelResponse); 69_ = Throw.IfNull(chatConfiguration);
GroundednessEvaluator.cs (2)
69_ = Throw.IfNull(modelResponse); 70_ = Throw.IfNull(chatConfiguration);
IntentResolutionEvaluator.cs (2)
82_ = Throw.IfNull(modelResponse); 83_ = Throw.IfNull(chatConfiguration);
RelevanceEvaluator.cs (2)
72_ = Throw.IfNull(modelResponse); 73_ = Throw.IfNull(chatConfiguration);
RelevanceTruthAndCompletenessEvaluator.cs (2)
85_ = Throw.IfNull(modelResponse); 86_ = Throw.IfNull(chatConfiguration);
RetrievalEvaluator.cs (1)
78_ = Throw.IfNull(chatConfiguration);
TaskAdherenceEvaluator.cs (2)
81_ = Throw.IfNull(modelResponse); 82_ = Throw.IfNull(chatConfiguration);
ToolCallAccuracyEvaluator.cs (2)
83_ = Throw.IfNull(modelResponse); 84_ = Throw.IfNull(chatConfiguration);