question

MarcHollyoak-6307 avatar image
1 Vote"
MarcHollyoak-6307 asked ramr-msft edited

Does REST API "Knowledgebase - Create" also train?

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://docs.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

azure-qna-maker
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered ramr-msft edited

@MarcHollyoak-6307 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



image.png (170.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.