EvaluationDiagnostic(EvaluationDiagnosticSeverity, String) Constructor
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.
Represents a diagnostic (such as a warning, error or informational message) that applies to the result represented in an EvaluationMetric.
public:
EvaluationDiagnostic(Microsoft::Extensions::AI::Evaluation::EvaluationDiagnosticSeverity severity, System::String ^ message);
public EvaluationDiagnostic (Microsoft.Extensions.AI.Evaluation.EvaluationDiagnosticSeverity severity, string message);
new Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic : Microsoft.Extensions.AI.Evaluation.EvaluationDiagnosticSeverity * string -> Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic
Public Sub New (severity As EvaluationDiagnosticSeverity, message As String)
Parameters
- severity
- EvaluationDiagnosticSeverity
An EvaluationDiagnosticSeverity that indicates the severity of the EvaluationDiagnostic.
- message
- String
An error, warning or informational message describing the EvaluationDiagnostic.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.