Share via


LuisRecognizer.OnRecognizerResult Method

Definition

Invoked prior to a LuisResult being logged.

protected virtual void OnRecognizerResult (Microsoft.Bot.Builder.RecognizerResult recognizerResult, Microsoft.Bot.Builder.ITurnContext turnContext, System.Collections.Generic.Dictionary<string,string> telemetryProperties = default, System.Collections.Generic.Dictionary<string,double> telemetryMetrics = default);
abstract member OnRecognizerResult : Microsoft.Bot.Builder.RecognizerResult * Microsoft.Bot.Builder.ITurnContext * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> -> unit
override this.OnRecognizerResult : Microsoft.Bot.Builder.RecognizerResult * Microsoft.Bot.Builder.ITurnContext * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> -> unit
Protected Overridable Sub OnRecognizerResult (recognizerResult As RecognizerResult, turnContext As ITurnContext, Optional telemetryProperties As Dictionary(Of String, String) = Nothing, Optional telemetryMetrics As Dictionary(Of String, Double) = Nothing)

Parameters

recognizerResult
RecognizerResult

The Luis Results for the call.

turnContext
ITurnContext

Context object containing information for a single turn of conversation with a user.

telemetryProperties
Dictionary<String,String>

Additional properties to be logged to telemetry with the LuisResult event.

telemetryMetrics
Dictionary<String,Double>

Additional metrics to be logged to telemetry with the LuisResult event.

Applies to