Publishing, Querying and Deleting the Knowledge Base Using SDK

Learn to create a knowledge base using the Azure QnA maker's Python SDK.

To recap, in the previous lesson we created the knowledge base using the Azure QnA Maker SDK for Python and added one URL as the data source which contains the question-answer pairs. In this lesson, we’ll publish the knowledge base, then get the answers from the QnA maker, and finally, we’ll explore how to delete the knowledge base.

Publishing the knowledge base

We’ll use the qna_maker_knowledge_base_id that we saved from the previous lesson and send this value as a parameter to the publish() method to publish the knowledge base.

Get hands-on with 1200+ tech skills courses.