語言

IntentResolutionEvaluatorContext 建構函式

定義

初始化 IntentResolutionEvaluatorContext 類別的新執行個體。

多載

IntentResolutionEvaluatorContext(AITool[])

初始化 IntentResolutionEvaluatorContext 類別的新執行個體。

public:
 IntentResolutionEvaluatorContext(... cli::array <Microsoft::Extensions::AI::AITool ^> ^ toolDefinitions);
public IntentResolutionEvaluatorContext(params Microsoft.Extensions.AI.AITool[] toolDefinitions);
new Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.AITool[] -> Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext
Public Sub New (ParamArray toolDefinitions As AITool())

參數

toolDefinitions
AITool[]

在產生模型回應時所使用的一組工具定義(見 Tools)。

請注意, IntentResolutionEvaluator 目前只支援評估定義為 AIFunctionDeclarations 的工具呼叫。 其他 AITool 定義將被忽略。

適用於

IntentResolutionEvaluatorContext(IEnumerable<AITool>)

初始化 IntentResolutionEvaluatorContext 類別的新執行個體。

public:
 IntentResolutionEvaluatorContext(System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::AITool ^> ^ toolDefinitions);
public IntentResolutionEvaluatorContext(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.AITool> toolDefinitions);
new Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext : seq<Microsoft.Extensions.AI.AITool> -> Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext
Public Sub New (toolDefinitions As IEnumerable(Of AITool))

參數

toolDefinitions
IEnumerable<AITool>

在產生模型回應時所使用的一組工具定義(見 Tools)。

請注意, IntentResolutionEvaluator 目前只支援評估定義為 AIFunctionDeclarations 的工具呼叫。 其他 AITool 定義將被忽略。

適用於