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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET