Search⌘ K
AI Features

Creating a Knowledge Base Using SDK

Explore how to create and manage knowledge bases using the Azure QnA Maker SDK in Python. Learn to build, publish, query, and delete knowledge bases with real Azure resources. This lesson helps you implement QnA Maker solutions integrating cloud AI services using Python code.

Introduction

In this lesson, we’re going to build a knowledge base using the Azure QnA Maker SDK for Python. We’ll use the same QnA maker resource that we created in the earlier lesson.

Dependencies

To work with this chapter and run the code snippets on your local machine, you need to install the following package:

  • azure-cognitiveservices-knowledge-qnamaker==0.2.0

To learn how to install the packages, please visit the Appendix section.

Implementation

We’ll follow the steps mentioned below to create a knowledge base and publish it so that it can be consumed in any ...