Jaa


EvaluationResultExtensions.AddDiagnosticToAllMetrics Method

Definition

Adds the supplied diagnostic to all EvaluationMetrics contained in the supplied result.

public:
[System::Runtime::CompilerServices::Extension]
 static void AddDiagnosticToAllMetrics(Microsoft::Extensions::AI::Evaluation::EvaluationResult ^ result, Microsoft::Extensions::AI::Evaluation::EvaluationDiagnostic ^ diagnostic);
public static void AddDiagnosticToAllMetrics (this Microsoft.Extensions.AI.Evaluation.EvaluationResult result, Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic diagnostic);
static member AddDiagnosticToAllMetrics : Microsoft.Extensions.AI.Evaluation.EvaluationResult * Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic -> unit
<Extension()>
Public Sub AddDiagnosticToAllMetrics (result As EvaluationResult, diagnostic As EvaluationDiagnostic)

Parameters

result
EvaluationResult

The EvaluationResult containing the EvaluationMetrics that are to be altered.

diagnostic
EvaluationDiagnostic

The EvaluationDiagnostic that is to be added.

Applies to