QnAMaker is a great tool from Microsoft Cognitive Services. With QnAMaker build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content in minutes.
LUIS.AI, A machine learning-based service to build natural language into apps, bots, and IoT devices. Quickly create enterprise-ready, custom models that continuously improve.
In this sample we'll how to connect an NLP solution (LUIS) with a FAQ knowledge base (QnAMaker) using Node.js with Azure Bot Services.
Architecture for the project will be like below:
We'll use LUIS to detect Intent and Entities then we'll direct them into related knowledge bases in different QnAMaker sources.
.env file is empty, please provide your own credentials.
- download source code zip and extract source in local folder
- open the source folder in Visual Studio Code
- make code changes
- download and run botframework-emulator
- connect the emulator to http://localhost:3987
If you have setup continuous integration, then your bot will automatically deployed when new changes are pushed to the source repository.