LuisRecognizer.OnRecognizerResult Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Anropas innan en LuisResult loggas.
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)
Parametrar
- recognizerResult
- RecognizerResult
Luis-resultatet för anropet.
- turnContext
- ITurnContext
Kontextobjekt som innehåller information för en enda konversation med en användare.
- telemetryProperties
- Dictionary<String,String>
Ytterligare egenskaper som ska loggas till telemetri med LuisResult-händelsen.
- telemetryMetrics
- Dictionary<String,Double>
Ytterligare mått som ska loggas till telemetri med LuisResult-händelsen.