RecognizerSet Class

Definition

RecognizerSet - Recognizer which is the union of of multiple recognizers into one RecognizerResult.

public class RecognizerSet : Microsoft.Bot.Builder.Dialogs.Adaptive.Recognizers.AdaptiveRecognizer
type RecognizerSet = class
    inherit AdaptiveRecognizer
Public Class RecognizerSet
Inherits AdaptiveRecognizer
Inheritance

Remarks

Intents will be merged by picking the intent with the MaxScore.

Entities are merged as a simple union of all of the Entities.

Constructors

RecognizerSet(String, Int32)

Initializes a new instance of the RecognizerSet class.

Fields

ChooseIntent

Intent name that will be produced by this recognizer if the child recognizers do not have consensus for intents.

(Inherited from Recognizer)
Kind

Class identifier.

NoneIntent

Standard none intent that means none of the recognizers recognize the intent.

(Inherited from Recognizer)

Properties

Id

Gets or sets id of the recognizer.

(Inherited from Recognizer)
LogPersonalInformation (Inherited from AdaptiveRecognizer)
Recognizers

Gets or sets the input recognizers.

TelemetryClient

Gets or sets the currently configured IBotTelemetryClient that logs the RecognizerResult event.

(Inherited from Recognizer)

Methods

FillRecognizerResultTelemetryProperties(RecognizerResult, Dictionary<String,String>, DialogContext) (Inherited from AdaptiveRecognizer)
RecognizeAsync(DialogContext, Activity, CancellationToken, Dictionary<String,String>, Dictionary<String,Double>)

Runs current DialogContext.TurnContext.Activity through a recognizer and returns a RecognizerResult.

RecognizeAsync<T>(DialogContext, Activity, CancellationToken, Dictionary<String,String>, Dictionary<String,Double>)

Runs current DialogContext.TurnContext.Activity through a recognizer and returns a strongly-typed recognizer result using IRecognizerConvert.

(Inherited from Recognizer)
TrackRecognizerResult(DialogContext, String, Dictionary<String,String>, Dictionary<String,Double>)

Tracks an event with the event name provided using the TelemetryClient attaching the properties / metrics.

(Inherited from Recognizer)

Applies to