Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.53 KB

File metadata and controls

45 lines (36 loc) · 2.53 KB

Bot Prerequisites

This bot has prerequisites that must be installed in order for the bot to function properly.

This document will enumerate the required prerequisites and show how to install them.

Overview

This bot uses QnA Maker Service, an AI based cognitive service, to implement a powerful question and answer service from your semi-structured content. The Bot Framework provides a set of CLI tools that will help setup QnA Maker so the bot can be run and tested locally. Additionally, prerequisites are provided that will enable the bot to be deployed to Azure using additional CLI tools.

Prerequisites

  • Node.js version 8.5 or higher.
  • If you don't have an Azure subscription, create a free account.
  • Install the latest version of the Azure CLI tool. Version 2.0.54 or higher.
  • Install latest version of the MSBot CLI tool. Version 4.3.2 or higher.
    # install msbot CLI tool
    npm install -g msbot
  • Install latest version of the QnAMaker CLI tool. Version 1.1.0 or higher.
    # install QnA Maker CLI tool
    npm install -g qnamaker

Return to README.md

Further reading

The sample will use msbot to provision all the service resources this sample requires. Specifically, the sample will use msbot to provision a QnA Maker service application.

The following links document how to create a QnA Maker service manually instead of using msbot to do the provisioning for you. The sample will use msbot, but incase you want to understand the manual steps, they are cateloged below.

  • QnA Maker service application
    • Follow instructions here to create a QnA Maker service.
    • Follow instructions here to import the smartLightFAQ.tsv to your newly created QnA Maker service.
    • Update qnamaker.bot with your QnAMaker-Host, QnAMaker-KnowledgeBaseId and QnAMaker-EndpointKey. You can find this information under "Settings" tab for your QnA Maker Knowledge Base at QnAMaker.ai.