DiskBasedReportingConfiguration.Create 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.
public static Microsoft.Extensions.AI.Evaluation.Reporting.ReportingConfiguration Create (string storageRootPath, System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.Evaluation.IEvaluator> evaluators, Microsoft.Extensions.AI.Evaluation.ChatConfiguration? chatConfiguration = default, bool enableResponseCaching = true, System.Collections.Generic.IEnumerable<string>? cachingKeys = default, string executionName = "Default");
static member Create : string * seq<Microsoft.Extensions.AI.Evaluation.IEvaluator> * Microsoft.Extensions.AI.Evaluation.ChatConfiguration * bool * seq<string> * string -> Microsoft.Extensions.AI.Evaluation.Reporting.ReportingConfiguration
Public Shared Function Create (storageRootPath As String, evaluators As IEnumerable(Of IEvaluator), Optional chatConfiguration As ChatConfiguration = Nothing, Optional enableResponseCaching As Boolean = true, Optional cachingKeys As IEnumerable(Of String) = Nothing, Optional executionName As String = "Default") As ReportingConfiguration
Parameters
- storageRootPath
- String
- evaluators
- IEnumerable<IEvaluator>
- chatConfiguration
- ChatConfiguration
- enableResponseCaching
- Boolean
- cachingKeys
- IEnumerable<String>
- executionName
- String
Returns
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.