EvaluationResultExtensions.AddDiagnosticToAllMetrics Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.