IntentResolutionEvaluatorContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這些情境資訊用來 IntentResolutionEvaluator 評估 AI 系統在識別及解決使用者意圖方面的效能。
public ref class IntentResolutionEvaluatorContext sealed : Microsoft::Extensions::AI::Evaluation::EvaluationContext
[System.Diagnostics.CodeAnalysis.Experimental("AIEVAL001")]
public sealed class IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
public sealed class IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
[<System.Diagnostics.CodeAnalysis.Experimental("AIEVAL001")>]
type IntentResolutionEvaluatorContext = class
inherit EvaluationContext
type IntentResolutionEvaluatorContext = class
inherit EvaluationContext
Public NotInheritable Class IntentResolutionEvaluatorContext
Inherits EvaluationContext
- 繼承
- 屬性
備註
IntentResolutionEvaluator 根據所提供的對話歷史及工具定義 ToolDefinitions,評估 AI 系統在識別及解決使用者意圖方面的效能。
請注意, IntentResolutionEvaluator 目前只支援評估定義為 AIFunctionDeclarations 的工具呼叫。 AITool其他由 提供的ToolDefinitions定義將被忽略。
建構函式
| 名稱 | Description |
|---|---|
| IntentResolutionEvaluatorContext(AITool[]) |
初始化 IntentResolutionEvaluatorContext 類別的新執行個體。 |
| IntentResolutionEvaluatorContext(IEnumerable<AITool>) |
初始化 IntentResolutionEvaluatorContext 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Contents |
取得或設定包含此EvaluationContext中所有資訊的物件清單AIContent。 (繼承來源 EvaluationContext) |
| Name |
取得或設定這個 EvaluationContext名稱。 (繼承來源 EvaluationContext) |
| ToolDefinitions |
取得一組工具定義(見 Tools),這些定義用於產生模型回應。 |
| ToolDefinitionsContextName |
得到 Name 唯一值,該 用於 IntentResolutionEvaluatorContext。 |