Share via


LuisAdaptiveRecognizer Class

Definition

Class that represents an adaptive LUIS recognizer.

public class LuisAdaptiveRecognizer : Microsoft.Bot.Builder.Dialogs.Recognizer
type LuisAdaptiveRecognizer = class
    inherit Recognizer
Public Class LuisAdaptiveRecognizer
Inherits Recognizer
Inheritance
LuisAdaptiveRecognizer

Constructors

LuisAdaptiveRecognizer()

Initializes a new instance of the LuisAdaptiveRecognizer 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

The Kind value for this recognizer.

NoneIntent

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

(Inherited from Recognizer)

Properties

ApplicationId

Gets or sets LUIS application ID.

DynamicLists

Gets or sets an expression or constant LUIS dynamic list.

Endpoint

Gets or sets LUIS endpoint like https://westus.api.cognitive.microsoft.com to query.

EndpointKey

Gets or sets the key used to talk to a LUIS endpoint.

ExternalEntityRecognizer

Gets or sets an external entity recognizer.

HttpClient

Gets or sets HTTP client handler.

Id

Gets or sets id of the recognizer.

(Inherited from Recognizer)
LogPersonalInformation

Gets or sets the flag to determine if personal information should be logged in telemetry.

Options

Gets or sets LUIS Prediction options (with expressions).

PredictionOptions
Obsolete.

Gets or sets LUIS prediction options.

TelemetryClient

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

(Inherited from Recognizer)
Version

Gets or sets LUIS version.

Methods

FillRecognizerResultTelemetryProperties(RecognizerResult, Dictionary<String,String>, DialogContext)

Uses the RecognizerResult returned from the LuisRecognizer and populates a dictionary of string with properties to be logged into telemetry. Including any additional properties that were passed into the method.

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)
RecognizerOptions(DialogContext)

Construct V3 recognizer options from the current dialog context.

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