Share via


LuisRecognizer Class

Definition

Caution

Class is deprecated, please use Microsoft.Bot.Builder.AI.Luis.LuisRecognizer(LuisRecognizerOptions recognizer).

A LUIS based implementation of ITelemetryRecognizer for the V3 endpoint.

[System.Obsolete("Class is deprecated, please use Microsoft.Bot.Builder.AI.Luis.LuisRecognizer(LuisRecognizerOptions recognizer).")]
public class LuisRecognizer : Microsoft.Bot.Builder.AI.Luis.ITelemetryRecognizer, Microsoft.Bot.Builder.IRecognizer
[<System.Obsolete("Class is deprecated, please use Microsoft.Bot.Builder.AI.Luis.LuisRecognizer(LuisRecognizerOptions recognizer).")>]
type LuisRecognizer = class
    interface ITelemetryRecognizer
    interface IRecognizer
Public Class LuisRecognizer
Implements IRecognizer, ITelemetryRecognizer
Inheritance
LuisRecognizer
Attributes
Implements

Constructors

LuisRecognizer(LuisApplication, LuisRecognizerOptions, LuisPredictionOptions)

Initializes a new instance of the LuisRecognizer class.

Fields

LuisTraceLabel

The context label for a LUIS trace activity.

LuisTraceType

The value type for a LUIS trace activity.

Properties

DefaultHttpClient

Gets client to use for http.

LogPersonalInformation

Gets or sets a value indicating whether to log personal information that came from the user to telemetry.

TelemetryClient

Gets the currently configured IBotTelemetryClient that logs the LuisResult event.

Methods

FillLuisEventProperties(RecognizerResult, ITurnContext, Dictionary<String,String>)

Fills the event properties for LuisResult event for telemetry. These properties are logged when the recognizer is called.

OnRecognizerResult(RecognizerResult, ITurnContext, Dictionary<String,String>, Dictionary<String,Double>)

Invoked prior to a LuisResult being logged.

RecognizeAsync(ITurnContext, CancellationToken)

Runs an utterance through a recognizer and returns a generic recognizer result.

RecognizeAsync(ITurnContext, Dictionary<String,String>, Dictionary<String,Double>, CancellationToken)

Return results of the analysis (Suggested actions and intents).

RecognizeAsync(ITurnContext, LuisPredictionOptions, CancellationToken)

Runs an utterance through a recognizer and returns a generic recognizer result.

RecognizeAsync(ITurnContext, LuisPredictionOptions, Dictionary<String,String>, Dictionary<String,Double>, CancellationToken)

Return results of the analysis (Suggested actions and intents).

RecognizeAsync<T>(ITurnContext, CancellationToken)

Runs an utterance through a recognizer and returns a strongly-typed recognizer result.

RecognizeAsync<T>(ITurnContext, Dictionary<String,String>, Dictionary<String,Double>, CancellationToken)

Return results of the analysis (Suggested actions and intents).

RecognizeAsync<T>(ITurnContext, LuisPredictionOptions, Dictionary<String,String>, Dictionary<String,Double>, CancellationToken)

Return results of the analysis (Suggested actions and intents).

TopIntent(RecognizerResult, String, Double)

Returns the name of the top scoring intent from a set of LUIS results.

Applies to