Introduction to QnA Maker

Retrieved from Microsoft Docs

QnA Maker is a cloud-based API service that allows us to create a question and answer conversation layer over the existing data. In other words, QnA Maker enables to power a Q/A application or a chatbot from sources such as product manuals, FAQ pages, excel files and other public data sources such as URLs or files. QnA Maker is best suited for situations where multiple users have the same query or the user has static information or if the user wants to filter the static information based on the metadata tags.

Working Mechanism

The QnA Maker API allows us to create a knowledge base(which is a set of question-answer pairs) by importing content from various supported sources such as product manuals and policies, FAQ pages, Sharepoint files, PDFs, etc. Once the content is imported and the knowledge base is published, the client application(social media apps, chatbots, desktop-based apps, etc.) will send a question to the knowledge base endpoint and the QnA Maker service will further process the question and return back a JSON response with the best matched answer. The client application then uses the JSON response to make decisions on how to further continue the conversation(be it displaying the best matched answer or providing more choices to refine the search).

Getting Started

In order to get familiar with QnA Maker, one can get started by creating a QnA Maker resource in the Azure portal and then go on creating the knowledge base(KB) in the QnA Maker portal. Once the KB is published, the client application can programmatically call the knowledge base endpoint and get the JSON response once the request is processed by the QnA Maker service.The QnA Maker portal also allows us to publish the knowledge base to an Azure Web App bot without writing a single line of code.

Active Learning

Enabling the active learning feature in QnA Maker helps to improve the knowledge base quality by suggesting alternative questions. After reviewing the suggestions, we can either add those suggestions or reject them and they do not affect the already existing questions.

Happy Learning!!!

--

--

--

@@@@@@@@@@

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Announcing the API3 Partnership and Integration With Harmony

MongoDB World 2018 a Review and Retrospective

MDBW18 Interview

Building A Serverless Backend API Part 2

Front-End Application

Flutter Internationalization : the easy way with flappy_translator

A lot of flags of the world

A quick RFM Analysis on Spark

API3 Core Technical Team Report, November 2021

The First big Poll is Complete… Project Future Announcement

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anusha R

Anusha R

@@@@@@@@@@

More from Medium

It’s okay to skip breakfast

Find Your Own Truth

Sandwich or Buttery Grilled Ham & Cheese

2021/22 mid-season review: AC Sparta Praha