EntityRecognizer Class

Definition

Entity recognizers base class.

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

Constructors

EntityRecognizer(String, Int32)

Initializes a new instance of the EntityRecognizer 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)
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)
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 generic recognizer result.

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)
RecognizeEntitiesAsync(DialogContext, Activity, IEnumerable<Entity>, CancellationToken)

Recognizes entities from an Entity list.

RecognizeEntitiesAsync(DialogContext, IEnumerable<Entity>, CancellationToken)

Recognizes entities from an Entity list.

RecognizeEntitiesAsync(DialogContext, String, String, IEnumerable<Entity>, CancellationToken)

Recognizes entities from an Entity list.

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