Condividi tramite


ReportingConfiguration Constructor

Definition

public ReportingConfiguration (System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.Evaluation.IEvaluator> evaluators, Microsoft.Extensions.AI.Evaluation.Reporting.IResultStore resultStore, Microsoft.Extensions.AI.Evaluation.ChatConfiguration? chatConfiguration = default, Microsoft.Extensions.AI.Evaluation.Reporting.IResponseCacheProvider? responseCacheProvider = default, System.Collections.Generic.IEnumerable<string>? cachingKeys = default, string executionName = "Default", Func<Microsoft.Extensions.AI.Evaluation.EvaluationMetric,Microsoft.Extensions.AI.Evaluation.EvaluationMetricInterpretation?>? evaluationMetricInterpreter = default);
new Microsoft.Extensions.AI.Evaluation.Reporting.ReportingConfiguration : seq<Microsoft.Extensions.AI.Evaluation.IEvaluator> * Microsoft.Extensions.AI.Evaluation.Reporting.IResultStore * Microsoft.Extensions.AI.Evaluation.ChatConfiguration * Microsoft.Extensions.AI.Evaluation.Reporting.IResponseCacheProvider * seq<string> * string * Func<Microsoft.Extensions.AI.Evaluation.EvaluationMetric, Microsoft.Extensions.AI.Evaluation.EvaluationMetricInterpretation> -> Microsoft.Extensions.AI.Evaluation.Reporting.ReportingConfiguration
Public Sub New (evaluators As IEnumerable(Of IEvaluator), resultStore As IResultStore, Optional chatConfiguration As ChatConfiguration = Nothing, Optional responseCacheProvider As IResponseCacheProvider = Nothing, Optional cachingKeys As IEnumerable(Of String) = Nothing, Optional executionName As String = "Default", Optional evaluationMetricInterpreter As Func(Of EvaluationMetric, EvaluationMetricInterpretation) = Nothing)

Parameters

evaluators
IEnumerable<IEvaluator>
resultStore
IResultStore
chatConfiguration
ChatConfiguration
responseCacheProvider
IResponseCacheProvider
cachingKeys
IEnumerable<String>
executionName
String

Applies to