/** * @module botbuilder-ai */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { QnAMakerEndpoint } from '../qnamaker-interfaces/qnamakerEndpoint'; import { FeedbackRecords } from '../qnamaker-interfaces/feedbackRecords'; import { HttpRequestUtils } from './httpRequestUtils'; /** * Generate Answer api utils class. * * @summary * This class is helper class for generate answer api, which is used to make queries to a single QnA Maker knowledge base and return the result. */ export declare class TrainUtils { private readonly endpoint; httpRequestUtils: HttpRequestUtils; /** * Creates new instance for active learning train utils. * * @param {QnAMakerEndpoint} endpoint The endpoint of the knowledge base to query. */ constructor(endpoint: QnAMakerEndpoint); /** * Train API to provide feedback. * * @param {FeedbackRecords} feedbackRecords Feedback record list. */ callTrain(feedbackRecords: FeedbackRecords): Promise; private queryTrain; } //# sourceMappingURL=trainUtils.d.ts.map