TrainUtils class
產生回應 API 公用程式類別。
建構函式
Train |
為主動式學習定型公用程式建立新的實例。 |
屬性
http |
方法
call |
訓練 API 以提供意見反應。 |
建構函式詳細資料
TrainUtils(QnAMakerEndpoint)
為主動式學習定型公用程式建立新的實例。
new TrainUtils(endpoint: QnAMakerEndpoint)
參數
- endpoint
- QnAMakerEndpoint
要查詢之知識庫的端點。
屬性詳細資料
httpRequestUtils
方法詳細資料
callTrain(FeedbackRecords)
訓練 API 以提供意見反應。
function callTrain(feedbackRecords: FeedbackRecords): Promise<void>
參數
- feedbackRecords
- FeedbackRecords
意見反應記錄清單。
傳回
Promise<void>