다음을 통해 공유


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)

CustomQuestionAnswering 클래스의 새 인스턴스를 초기화합니다.

CustomQuestionAnswering(QnAMakerEndpoint, QnAMakerOptions, HttpClient, IBotTelemetryClient, Boolean)

CustomQuestionAnswering 클래스의 새 인스턴스를 초기화합니다.

속성

DefaultHttpClient

HttpClient 사용자 지정 질문 답변 API를 호출할 때 사용할 을 가져옵니다.

LogPersonalInformation

사용자로부터 온 개인 정보를 기록할지 여부를 나타내는 값을 가져옵니다.

TelemetryClient

QnaMessage 이벤트를 기록하는 현재 구성된 IBotTelemetryClient 을 가져옵니다.

메서드

CallTrainAsync(FeedbackRecords)

기술 자료 피드백을 보냅니다.

GetAnswersAsync(ITurnContext, QnAMakerOptions)

기술 자료 답변을 생성합니다.

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

기술 자료 답변을 생성합니다.

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

기술 자료 답변을 생성합니다.

GetLowScoreVariation(QueryResult[])

활성 학습에 대한 모호한 질문을 필터링합니다.

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

사용자 지정 질문 답변에서 결과가 반환될 때 실행됩니다.

적용 대상