你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AgentEvaluationRequest Constructor

Definition

Initializes a new instance of AgentEvaluationRequest.

public AgentEvaluationRequest(string runId, System.Collections.Generic.IDictionary<string,Azure.AI.Projects.EvaluatorConfiguration> evaluators, string appInsightsConnectionString);
new Azure.AI.Projects.AgentEvaluationRequest : string * System.Collections.Generic.IDictionary<string, Azure.AI.Projects.EvaluatorConfiguration> * string -> Azure.AI.Projects.AgentEvaluationRequest
Public Sub New (runId As String, evaluators As IDictionary(Of String, EvaluatorConfiguration), appInsightsConnectionString As String)

Parameters

runId
String

Identifier of the agent run.

evaluators
IDictionary<String,EvaluatorConfiguration>

Evaluators to be used for the evaluation.

appInsightsConnectionString
String

Pass the AppInsights connection string to the agent evaluation for the evaluation results and the errors logs.

Exceptions

runId, evaluators or appInsightsConnectionString is null.

Applies to