OrchestratorRecognizer 类

定义

注意

The Bot Framework Orchestrator will be deprecated in the next version of the Bot Framework SDK.

表示自适应 Orchestrator 识别器的类。

[System.Obsolete("The Bot Framework Orchestrator will be deprecated in the next version of the Bot Framework SDK.")]
public class OrchestratorRecognizer : Microsoft.Bot.Builder.Dialogs.Adaptive.Recognizers.AdaptiveRecognizer
[<System.Obsolete("The Bot Framework Orchestrator will be deprecated in the next version of the Bot Framework SDK.")>]
type OrchestratorRecognizer = class
    inherit AdaptiveRecognizer
Public Class OrchestratorRecognizer
Inherits AdaptiveRecognizer
继承
OrchestratorRecognizer
属性

构造函数

OrchestratorRecognizer(String, Int32)
已过时.

初始化 OrchestratorRecognizer 类的新实例。

OrchestratorRecognizer(String, String, ILabelResolver)
已过时.

初始化 OrchestratorRecognizer 类的新实例。

字段

ChooseIntent
已过时.

如果子识别器没有意向的共识,则此识别器将生成的意向名称。

(继承自 Recognizer)
EntitiesProperty
已过时.

在遥测中的自定义事件中存储提取的实体时使用的属性密钥。

Kind
已过时.

此识别器的类型名称。

NoneIntent
已过时.

标准无意向,表示识别器均无法识别该意向。

(继承自 Recognizer)
ResultProperty
已过时.

RecognizerResult 中的属性键,用于保存 Orchestrator 核心的完整识别结果。

属性

DetectAmbiguousIntents
已过时.

获取或设置检测不明确的意向。

DisambiguationScoreThreshold
已过时.

获取或设置消除歧义分数阈值。

ExternalEntityRecognizer
已过时.

获取或设置外部实体识别器。

Id
已过时.

获取或设置识别器 ID。

(继承自 Recognizer)
LogPersonalInformation
已过时.

获取或设置标志,以确定遥测是否应在其日志中包含个人信息。

(继承自 AdaptiveRecognizer)
ModelFolder
已过时.

获取或设置要使用的 Orchestrator 基模型的文件夹路径。

ScoreEntities
已过时.

获取或设置一个值,该值指示是启用或禁用实体提取逻辑。 注意:应考虑在下一个主要 SDK 版本(V5)中删除此标志。

SnapshotFile
已过时.

获取或设置要使用的 Orchestrator 快照文件的完整路径。

TelemetryClient
已过时.

获取或设置记录 RecognizerResult 事件的当前配置的 IBotTelemetryClient

(继承自 Recognizer)

方法

FillRecognizerResultTelemetryProperties(RecognizerResult, Dictionary<String,String>, DialogContext)
已过时.

使用 RecognizerResult 创建在跟踪遥测结果时要包含的属性列表。

RecognizeAsync(DialogContext, Activity, CancellationToken, Dictionary<String,String>, Dictionary<String,Double>)
已过时.

返回识别结果。

RecognizeAsync<T>(DialogContext, Activity, CancellationToken, Dictionary<String,String>, Dictionary<String,Double>)
已过时.

通过识别器运行当前的 DialogContext.TurnContext.Activity,并使用 IRecognizerConvert 返回强类型识别器结果。

(继承自 Recognizer)
TrackRecognizerResult(DialogContext, String, Dictionary<String,String>, Dictionary<String,Double>)
已过时.

使用 TelemetryClient 附加属性/指标时提供的事件名称跟踪事件。

(继承自 Recognizer)

适用于