Create FAQ BOT Using QnA Cognitive Service And Integrate BOT Service To The Microsoft Teams

Azure Bot Service

 
Azure Bot Service is Microsoft’s artificial intelligence (AI) chatbot offered as a service on the Azure cloud service marketplace. Using cognitive service, we can create a powerful Azure bot service and integrate with provided channels without writing a single line of code. You could give your bot the ability to speak, listen, and understand your users with native integration of Azure Cognitive Services. You can also add personality to your bot using pre-built chit-chat datasets.
 
Azure Bot Service provides an integrated environment that is purpose-built for bot development, enabling you to build, test, deploy, and manage intelligent bots, all in one place.This bot service can be added to websites, apps, email, GroupMe, Facebook Messenger, Kik, Skype, Slack, Microsoft Teams, Telegram, SMS, Twilio, Cortana and Skype for Business.
 

What is QnA Maker?

 
QnA Maker is one of the powerful cognitive services that lets you create a conversational question and answer for your existing data. We can use QnA maker to build knowledge base by extracting questions and answer from your semi-structured content, including FAQs, manuals, and documents.
 

Advantage of QnA maker cognitive service

  • No code experiences
  • Automatic extraction
  • Multi-turn conversations
  • Active Learning
  • Scale as per your need
  • Chat in more than 50 languages
You can build, train and publish a sophisticated bot using FAQ pages, support websites, product manuals, SharePoint documents or editorial content through an easy-to-use UI or via REST APIs.
 

QnA Maker knowledge base in a chat bot

 
A knowledge base consists of question and answer sets brought in by public URLs and files, which do not require authentication. The Chit chat QnA content set is offered as a complete content data source in several languages and conversational styles. This can be a starting point for your bot's personality, and it will save you the time and cost of writing them from scratch.
 
In this article we’ll see how to add Azure Bot Service to Microsoft Teams.
 
First,  let’s start on how to create a knowledge base using QnA maker.
 
STEP 1
 
Go to the QnAMaker.ai website and login with your Azure credentials. Select ‘Create a Knowledge Base’. Click ‘Create a QnA service’. It will navigate to the Azure portal and ask required details to create QnA maker.
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
 Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
STEP 2
 
Connect your created QnA service to your Knowledge Base.
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
STEP 3
 
Name your Knowledge base.
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
STEP 4
 
Add FAQ pages or support websites or product manuals or any SharePoint documents in the site url and select personality for your bot using pre-built chit-chat.
 
 Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
STEP 5
 
Click create your Knowledge Base.
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
If any questions need to be added, edit the knowledge base, add questions and just click ‘Save and Train’. And finally publish your Knowledge Base.
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
 
Once you publish your knowledge base, we need to create Azure Web App Bot for the Knowledge Base. Click 'create Bot', it will navigate to the Azure portal, provide required details to create Bot.
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams

Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
 
Once Bot service is created, we need to add Microsoft Teams channel to our bot.
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
 
After adding Microsoft teams channel to your web app bot, just click the connected teams channel, it will ask your Microsoft teams credential to add QnA Bot into your teams channel.
 
Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams

Create FAQ BOT using QnA Cognitive Service and Integrate BOT Service to the Microsoft Teams
 
At last now we have created and published bot in teams, without a single line of code.