TrainUtils class
Generate Answer api utils class.
Constructors
Train |
Creates new instance for active learning train utils. |
Properties
http |
Methods
call |
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
Method Details
callTrain(FeedbackRecords)
Train API to provide feedback.
function callTrain(feedbackRecords: FeedbackRecords): Promise<void>
Parameters
- feedbackRecords
- FeedbackRecords
Feedback record list.
Returns
Promise<void>