TrainUtils class

Generate Answer api utils class.

Constructors

TrainUtils(QnAMakerEndpoint)

Creates new instance for active learning train utils.

Properties

httpRequestUtils

Methods

callTrain(FeedbackRecords)

Train API to provide feedback.

Constructor Details

TrainUtils(QnAMakerEndpoint)

Creates new instance for active learning train utils.

new TrainUtils(endpoint: QnAMakerEndpoint)

Parameters

endpoint
QnAMakerEndpoint

The endpoint of the knowledge base to query.

Property Details

httpRequestUtils

httpRequestUtils: HttpRequestUtils

Property Value

Method Details

callTrain(FeedbackRecords)

Train API to provide feedback.

function callTrain(feedbackRecords: FeedbackRecords): Promise<void>

Parameters

feedbackRecords
FeedbackRecords

Feedback record list.

Returns

Promise<void>