Compartilhar via


LuisRecognizer.OnRecognizerResult Método

Definição

Invocado antes de um LuisResult ser registrado.

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)

Parâmetros

recognizerResult
RecognizerResult

Os Resultados de Luis para a chamada.

turnContext
ITurnContext

Objeto de contexto que contém informações para uma única vez de conversa com um usuário.

telemetryProperties
Dictionary<String,String>

Propriedades adicionais a serem registradas na telemetria com o evento LuisResult.

telemetryMetrics
Dictionary<String,Double>

Métricas adicionais a serem registradas na telemetria com o evento LuisResult.

Aplica-se a