Share via

Does REST API "Knowledgebase - Create" also train?

Marc Hollyoak 61 Reputation points
2021-09-09T11:09:30.307+00:00

Just a clarification please, as I can't find an answer in the documentation (it seems implicit, not explicit).

With the API call "Knowledgebase - Create" (https://learn.microsoft.com/en-us/rest/api/cognitiveservices-qnamaker/qnamaker4.0/knowledgebase/create), is it right to presume when it creates the KB, it also executes the equivalent of the QnA Maker Portal's "Save and Train" button? I have called the API "Knowledgebase - Publish" after the "Knowledgebase - Create", and the KB was successfully published, without explicitly calling the Train API call, so presumably it has automatically trained the KB.

Maybe worth clarifying in documentation, so others get the benefit?

Many thanks

Marc

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,836 Reputation points
    2021-09-09T14:58:20.877+00:00

    @Marc Hollyoak Thanks for the feedback. Yes it's right. the Knowledgebase - Create API to create a new knowledgebase Asynchronously. We will check with the content team to explicitly mention the train in the document. Here is the link to the management APIs.

    At a high level the service is divided into:

    Control plane: This is hosted by Microsoft and contains the portal (www.qnamaker.ai ) and the management APIs.

    Data plane: This is hosted in the user’s Azure subscription and consists of the following services:

    Azure search – For storage and indexing.

    App Service – For runtime compute.

    App Insights – For telemetry.

    130831-image.png

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.