CustomQuestionAnswering.GetAnswersRawAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
サポート情報から回答を生成します。
public System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.QueryResults> GetAnswersRawAsync (Microsoft.Bot.Builder.ITurnContext turnContext, Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions options, System.Collections.Generic.Dictionary<string,string> telemetryProperties = default, System.Collections.Generic.Dictionary<string,double> telemetryMetrics = default);
abstract member GetAnswersRawAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.QueryResults>
override this.GetAnswersRawAsync : Microsoft.Bot.Builder.ITurnContext * Microsoft.Bot.Builder.AI.QnA.QnAMakerOptions * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.AI.QnA.QueryResults>
Public Function GetAnswersRawAsync (turnContext As ITurnContext, options As QnAMakerOptions, Optional telemetryProperties As Dictionary(Of String, String) = Nothing, Optional telemetryMetrics As Dictionary(Of String, Double) = Nothing) As Task(Of QueryResults)
パラメーター
- turnContext
- ITurnContext
TurnContextサポート情報に対してクエリを実行するユーザーの質問を含む 。
- options
- QnAMakerOptions
QnAMakerOptionsカスタム質問応答ナレッジ ベースの 。 null の場合、このインスタンスにはコンストラクター オプションが使用されます。
- telemetryProperties
- Dictionary<String,String>
QnaMessage イベントを使用してテレメトリにログに記録される追加のプロパティ。
- telemetryMetrics
- Dictionary<String,Double>
QnaMessage イベントを使用してテレメトリにログに記録される追加のメトリック。
戻り値
ランク付けスコアの降順で並べ替えられた、ユーザー クエリの回答の一覧。