Share via


LuisRecognizer Class

Definition

A LUIS based implementation of ITelemetryRecognizer.

public class LuisRecognizer : Microsoft.Bot.Builder.AI.Luis.ITelemetryRecognizer, Microsoft.Bot.Builder.IRecognizer
type LuisRecognizer = class
    interface ITelemetryRecognizer
    interface IRecognizer
Public Class LuisRecognizer
Implements IRecognizer, ITelemetryRecognizer
Inheritance
LuisRecognizer
Implements

Constructors

LuisRecognizer(LuisApplication, IBotTelemetryClient, Boolean, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolete.

Initializes a new instance of the LuisRecognizer class.

LuisRecognizer(LuisApplication, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolete.

Initializes a new instance of the LuisRecognizer class.

LuisRecognizer(LuisRecognizerOptions, HttpClientHandler)

Initializes a new instance of the LuisRecognizer class.

LuisRecognizer(LuisService, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolete.

Initializes a new instance of the LuisRecognizer class.

LuisRecognizer(String, LuisPredictionOptions, Boolean, HttpClientHandler)
Obsolete.

Initializes a new instance of the LuisRecognizer class.

Fields

DeclarativeType

The declarative type for this recognizer.

LuisTraceLabel

The context label for a LUIS trace activity.

LuisTraceType

The value type for a LUIS trace activity.

Properties

DefaultHttpClient
Obsolete.

Gets the default HttpClient to use when calling the LUIS API.

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

FillLuisEventPropertiesAsync(RecognizerResult, ITurnContext, Dictionary<String,String>, CancellationToken)

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

OnRecognizerResultAsync(RecognizerResult, ITurnContext, Dictionary<String,String>, Dictionary<String,Double>, CancellationToken)

Invoked prior to a LuisResult being logged.

RecognizeAsync(DialogContext, Activity, CancellationToken)

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

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

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

RecognizeAsync(DialogContext, Activity, LuisRecognizerOptions, CancellationToken)

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

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

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

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)
Obsolete.

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

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

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

RecognizeAsync(ITurnContext, LuisRecognizerOptions, CancellationToken)

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

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

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

RecognizeAsync(String, LuisRecognizerOptions, CancellationToken)

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

RecognizeAsync<T>(DialogContext, Activity, CancellationToken)

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

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

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

RecognizeAsync<T>(DialogContext, Activity, LuisRecognizerOptions, CancellationToken)

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

RecognizeAsync<T>(DialogContext, Activity, LuisRecognizerOptions, 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, CancellationToken)
Obsolete.

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

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

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

RecognizeAsync<T>(ITurnContext, LuisRecognizerOptions, CancellationToken)

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

RecognizeAsync<T>(ITurnContext, LuisRecognizerOptions, 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