Language

CustomQuestionAnswering クラス

定義

カスタムの質問応答ナレッジベースへのアクセスを提供します。

public class CustomQuestionAnswering : Microsoft.Bot.Builder.AI.QnA.IQnAMakerClient, Microsoft.Bot.Builder.AI.QnA.ITelemetryQnAMaker
type CustomQuestionAnswering = class
    interface IQnAMakerClient
    interface ITelemetryQnAMaker
Public Class CustomQuestionAnswering
Implements IQnAMakerClient, ITelemetryQnAMaker
継承
CustomQuestionAnswering
実装

コンストラクター

名前 説明
CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)

CustomQuestionAnswering クラスの新しいインスタンスを初期化します。

CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient)

CustomQuestionAnswering クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
DefaultHttpClient

カスタム質問応答APIを呼び出す際に使う HttpClient を取得します。

LogPersonalInformation

ユーザーからの個人情報をログに記録するかどうかを示す値が付与されます。

TelemetryClient

QnaMessage イベントをログに記録する現在構成されている IBotTelemetryClient を取得します。

メソッド

名前 説明
CallTrainAsync(FeedbackRecords)

ナレッジ ベースにフィードバックを送信します。

GetAnswersAsync(ITurnContext, QnAMakerOptions, Dictionary<String,String>, Dictionary<String,Double>)

ナレッジ ベースから回答を生成します。

GetAnswersAsync(ITurnContext, QnAMakerOptions)

ナレッジ ベースから回答を生成します。

GetAnswersRawAsync(ITurnContext, QnAMakerOptions, Dictionary<String,String>, Dictionary<String,Double>)

ナレッジ ベースから回答を生成します。

GetLowScoreVariation(QueryResult[])

アクティブ ラーニングのあいまいな質問をフィルター処理します。

OnQnaResultsAsync(QueryResult[], ITurnContext, Dictionary<String,String>, Dictionary<String,Double>, CancellationToken)

カスタム質問応答から結果が返されたときに実行されます。

適用対象