LuisAdaptiveRecognizer.FillRecognizerResultTelemetryProperties Method

Definition

Uses the RecognizerResult returned from the LuisRecognizer and populates a dictionary of string with properties to be logged into telemetry. Including any additional properties that were passed into the method.

protected override System.Collections.Generic.Dictionary<string,string> FillRecognizerResultTelemetryProperties (Microsoft.Bot.Builder.RecognizerResult recognizerResult, System.Collections.Generic.Dictionary<string,string> telemetryProperties, Microsoft.Bot.Builder.Dialogs.DialogContext dc);
override this.FillRecognizerResultTelemetryProperties : Microsoft.Bot.Builder.RecognizerResult * System.Collections.Generic.Dictionary<string, string> * Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Collections.Generic.Dictionary<string, string>
Protected Overrides Function FillRecognizerResultTelemetryProperties (recognizerResult As RecognizerResult, telemetryProperties As Dictionary(Of String, String), dc As DialogContext) As Dictionary(Of String, String)

Parameters

recognizerResult
RecognizerResult

An instance of RecognizerResult to extract the telemetry properties from.

telemetryProperties
Dictionary<String,String>

A collection of additional properties to be added to the returned dictionary of properties.

dc
DialogContext

An instance of DialogContext.

Returns

The dictionary of properties to be logged with telemetry for the recongizer result.

Applies to