LuisRecognizer.FillLuisEventPropertiesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
テレメトリの LuisResult イベントのイベント プロパティを入力します。 これらのプロパティは、認識エンジンが呼び出されたときにログに記録されます。
protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillLuisEventPropertiesAsync (Microsoft.Bot.Builder.RecognizerResult recognizerResult, Microsoft.Bot.Builder.ITurnContext turnContext, System.Collections.Generic.Dictionary<string,string> telemetryProperties = default, System.Threading.CancellationToken cancellationToken = default);
member this.FillLuisEventPropertiesAsync : Microsoft.Bot.Builder.RecognizerResult * Microsoft.Bot.Builder.ITurnContext * System.Collections.Generic.Dictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillLuisEventPropertiesAsync (recognizerResult As RecognizerResult, turnContext As ITurnContext, Optional telemetryProperties As Dictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Dictionary(Of String, String))
パラメーター
- recognizerResult
- RecognizerResult
ユーザーから最後に送信されたアクティビティ。
- turnContext
- ITurnContext
ユーザーとの会話の単一ターンの情報を含むコンテキスト オブジェクト。
- telemetryProperties
- Dictionary<String,String>
LuisResult イベントを使用してテレメトリにログに記録される追加のプロパティ。
- cancellationToken
- CancellationToken
キャンセル通知を受け取るために他のオブジェクトまたはスレッドで使用できるキャンセル トークン。
戻り値
BotMessageSend イベントの IBotTelemetryClient.TrackEvent メソッドに "Properties" として送信されるディクショナリ。