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);