LuisRecognizer.FillLuisEventProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fills the event properties for LuisResult event for telemetry. These properties are logged when the recognizer is called.
protected System.Collections.Generic.Dictionary<string,string> FillLuisEventProperties (Microsoft.Bot.Builder.RecognizerResult recognizerResult, Microsoft.Bot.Builder.ITurnContext turnContext, System.Collections.Generic.Dictionary<string,string> telemetryProperties = default);
member this.FillLuisEventProperties : Microsoft.Bot.Builder.RecognizerResult * Microsoft.Bot.Builder.ITurnContext * System.Collections.Generic.Dictionary<string, string> -> System.Collections.Generic.Dictionary<string, string>
Protected Function FillLuisEventProperties (recognizerResult As RecognizerResult, turnContext As ITurnContext, Optional telemetryProperties As Dictionary(Of String, String) = Nothing) As Dictionary(Of String, String)
Parameters
- recognizerResult
- RecognizerResult
Last activity sent from user.
- 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.
Returns
A dictionary that is sent as "Properties" to IBotTelemetryClient.TrackEvent method for the BotMessageSend event.