Compartilhar via


LuisAdaptiveRecognizer.RecognizeAsync Método

Definição

Executa DialogContext.TurnContext.Activity atual por meio de um reconhecedor e retorna um resultado de reconhecedor genérico.

public override System.Threading.Tasks.Task<Microsoft.Bot.Builder.RecognizerResult> RecognizeAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext, Microsoft.Bot.Schema.Activity activity, System.Threading.CancellationToken cancellationToken = default, System.Collections.Generic.Dictionary<string,string> telemetryProperties = default, System.Collections.Generic.Dictionary<string,double> telemetryMetrics = default);
override this.RecognizeAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Schema.Activity * System.Threading.CancellationToken * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.RecognizerResult>
Public Overrides Function RecognizeAsync (dialogContext As DialogContext, activity As Activity, Optional cancellationToken As CancellationToken = Nothing, Optional telemetryProperties As Dictionary(Of String, String) = Nothing, Optional telemetryMetrics As Dictionary(Of String, Double) = Nothing) As Task(Of RecognizerResult)

Parâmetros

dialogContext
DialogContext

Contexto da caixa de diálogo.

activity
Activity

atividade a ser reconhecida.

cancellationToken
CancellationToken

Token de cancelamento.

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.

Retornos

Análise de enunciado.

Aplica-se a