Taal

LuisRecognizer.OnRecognizerResultAsync Methode

Definitie

Aangeroepen voordat een LuisResult wordt geregistreerd.

protected virtual System.Threading.Tasks.Task OnRecognizerResultAsync(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, System.Threading.CancellationToken cancellationToken = default);
abstract member OnRecognizerResultAsync : Microsoft.Bot.Builder.RecognizerResult * Microsoft.Bot.Builder.ITurnContext * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnRecognizerResultAsync : Microsoft.Bot.Builder.RecognizerResult * Microsoft.Bot.Builder.ITurnContext * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OnRecognizerResultAsync (recognizerResult As RecognizerResult, turnContext As ITurnContext, Optional telemetryProperties As Dictionary(Of String, String) = Nothing, Optional telemetryMetrics As Dictionary(Of String, Double) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

recognizerResult
RecognizerResult

De Luis-resultaten voor het gesprek.

turnContext
ITurnContext

Contextobject met informatie voor één gesprek met een gebruiker.

telemetryProperties
Dictionary<String,String>

Extra eigenschappen die met het LuisResult-evenement worden geregistreerd in telemetrie.

telemetryMetrics
Dictionary<String,Double>

Extra statistieken die worden vastgelegd aan de telemetrie met het LuisResult-evenement.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om kennisgeving van annulering te ontvangen.

Retouren

Task.

Van toepassing op