EvaluationResult Constructors
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.
Overloads
EvaluationResult(EvaluationMetric[]) |
Initializes a new EvaluationResult instance. |
EvaluationResult(IDictionary<String,EvaluationMetric>) |
Initializes a new EvaluationResult instance. |
EvaluationResult(IEnumerable<EvaluationMetric>) |
Initializes a new EvaluationResult instance. |
EvaluationResult(EvaluationMetric[])
Initializes a new EvaluationResult instance.
public:
EvaluationResult(... cli::array <Microsoft::Extensions::AI::Evaluation::EvaluationMetric ^> ^ metrics);
public EvaluationResult (params Microsoft.Extensions.AI.Evaluation.EvaluationMetric[] metrics);
new Microsoft.Extensions.AI.Evaluation.EvaluationResult : Microsoft.Extensions.AI.Evaluation.EvaluationMetric[] -> Microsoft.Extensions.AI.Evaluation.EvaluationResult
Public Sub New (ParamArray metrics As EvaluationMetric())
Parameters
- metrics
- EvaluationMetric[]
An array of EvaluationMetrics that represent the result of an evaluation.
Applies to
EvaluationResult(IDictionary<String,EvaluationMetric>)
Initializes a new EvaluationResult instance.
public:
EvaluationResult(System::Collections::Generic::IDictionary<System::String ^, Microsoft::Extensions::AI::Evaluation::EvaluationMetric ^> ^ metrics);
[System.Text.Json.Serialization.JsonConstructor]
public EvaluationResult (System.Collections.Generic.IDictionary<string,Microsoft.Extensions.AI.Evaluation.EvaluationMetric> metrics);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.Extensions.AI.Evaluation.EvaluationResult : System.Collections.Generic.IDictionary<string, Microsoft.Extensions.AI.Evaluation.EvaluationMetric> -> Microsoft.Extensions.AI.Evaluation.EvaluationResult
Public Sub New (metrics As IDictionary(Of String, EvaluationMetric))
Parameters
- metrics
- IDictionary<String,EvaluationMetric>
A dictionary containing one or more EvaluationMetrics that represent the result of an evaluation.
The dictionary is keyed on the Names of the contained EvaluationMetrics.
- Attributes
Applies to
EvaluationResult(IEnumerable<EvaluationMetric>)
Initializes a new EvaluationResult instance.
public:
EvaluationResult(System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::Evaluation::EvaluationMetric ^> ^ metrics);
public EvaluationResult (System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.Evaluation.EvaluationMetric> metrics);
new Microsoft.Extensions.AI.Evaluation.EvaluationResult : seq<Microsoft.Extensions.AI.Evaluation.EvaluationMetric> -> Microsoft.Extensions.AI.Evaluation.EvaluationResult
Public Sub New (metrics As IEnumerable(Of EvaluationMetric))
Parameters
- metrics
- IEnumerable<EvaluationMetric>
An enumeration of EvaluationMetrics that represent the result of an evaluation.