How to automatically (programmatically) train the Knowledge Base?

438 views Asked by At

In the QnA Maker Service provided by the Microsoft's Cognitive Services, we can train our KB (Knowledge Base) by manually inserting the QnA pairs.

Is there a way to automate this process so that we can always keep our KB up-to-date please? There is an API documentation but i cannot find one for this purpose.

Please advise. Thanks all in advance.

1

There are 1 answers

0
Luke Bayler On

V2 of the QnA Maker API provides the following to help you programmatically train the knowledge base:

  • POST Create Knowledge Base
  • DELETE Delete Knowledge Base
  • GET Download Alterations
  • GET Download Knowledge Base
  • POST Generate answer
  • PUT Publish Knowledge Base
  • PATCH Train Knowledge Base
  • PATCH Update Alterations
  • PATCH Update Knowledge Base

For more information, see the documentation here: https://westus.dev.cognitive.microsoft.com/docs/services/58994a073d9e04097c7ba6fe/operations/58994a073d9e041ad42d9baa