Skip to content
Study chat bot app for students that allows school subject queries and returns relevant results
Branch: master
Clone or download
Latest commit 98c2fc7 Feb 15, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Initial commit Aug 15, 2018
Assets Add Direct Line images Nov 9, 2018
Qna-Luis-Bot_v4 Added to dispatch commands Feb 16, 2019
StudyBot Added image Feb 9, 2019
.gitignore Initial commit Aug 15, 2018 Initial commit Aug 15, 2018 Initial commit Aug 15, 2018 Initial commit Aug 15, 2018 Minor edit Jan 22, 2019

topic languages services products author
cognitive-services, qnamaker, chit-chat, luis, language-understanding, bing spell check, speech service

Study Bot

These samples create a Study Bot chat client using QnA Maker (with Chit-chat), LUIS, Speech Service, and Bing Spell Check. Each typed or spoken query into the chat bot will be accompanied by relevant search results in an encyclopedia, Microsoft Academic, and a general Bing search as a study aid. Teachers are able to create their own question and answer FAQs to create a study guide as input for the chat bot if they want it to follow a preferred curriculum. However, demo FAQs are available for this sample, included in the Qna-Luis-Bot/FAQs folder. The focus of this app is to enable a more relevant experience of studying, where students can study a subject with a customized chat bot along with multiple web resources.


  • QnA Maker with LUIS: There are 3 knowledge bases (created from FAQs in that LUIS directs the user to after a query is received in the chat bot. LUIS has utterances created (in that will allow the right knowledge base to be used. For instance, if the user types in "virus", LUIS knows to go to the biology knowledge base to retrieve a definition (answer) to the user's input. The QnA Maker feature Chitchat has been added to the bot v4 as a 4th knowledge base.

  • Speech Service: One option the user has when inputting queries into the bot is the option to speak the query instead of typing it. The user presses the microphone button to speak, then the bot stops recording shortly after the user finishes speaking (no need for a stop button) and a bot response to the user's spoken query appears in the chat window, in addition to what the bot "heard" the user say.

  • Bing Spell Check: This enables the user to make spelling mistakes for pre-defined words. For instance, from the sociology knowledge base, "Apartheid" can be recognized if the user inputs "apartide", "aparteid", "apartaid", etc.

  • The web resources will take a student query, like "virus", and return relevant information about it in an encyclopedia, Microsoft Academic, as well as a general Bing search that returns mostly news and blogs on the query.


  1. Start with the Qna-Luis-Bot (v4 is recommended) sample. Once that is up and running, then build the Study Bot sample. The Study Bot depends on the bot you build in Qna-Luis-Bot. Follow the README files in each sample.

  2. Visual Studio 2017+

  3. Qna-Luis-Bot (v3 or v4) is a C# .NET Standard app

  4. Study Bot is a C# UWP app


You can’t perform that action at this time.