Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zayedrais/covid19bot
Covid19
https://github.com/zayedrais/covid19bot
azure azurebotservice botframework chatbot coronavirus coronavirus-info coronavirus-real-time coronavirus-tracker coronavirus-tracking covid-19-india covid19 covid19-api covid19-app covid19-bot covid19-chatbot covid19-tracker covid19bot luis luis-ai qnamaker
Last synced: about 1 month ago
JSON representation
Covid19
- Host: GitHub
- URL: https://github.com/zayedrais/covid19bot
- Owner: zayedrais
- Created: 2020-04-23T21:26:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T12:20:00.000Z (over 4 years ago)
- Last Synced: 2024-04-28T04:37:21.837Z (8 months ago)
- Topics: azure, azurebotservice, botframework, chatbot, coronavirus, coronavirus-info, coronavirus-real-time, coronavirus-tracker, coronavirus-tracking, covid-19-india, covid19, covid19-api, covid19-app, covid19-bot, covid19-chatbot, covid19-tracker, covid19bot, luis, luis-ai, qnamaker
- Language: C#
- Size: 7.24 MB
- Stars: 2
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Covid19Bot
The complete tutorial of this project is available on Medium post
This bot has been created using [Bot Framework](https://dev.botframework.com), it shows how to create a bot that relies on multiple [LUIS.ai](https://www.luis.ai) and [QnAMaker.ai](https://www.qnamaker.ai) models for natural language processing (NLP).
Use the Dispatch model in cases when:
- Your bot consists of multiple language modules (LUIS + QnA) and you need assistance in routing user's utterances to these modules in order to integrate the different modules into your bot.
- Evaluate quality of intents classification of a single LUIS model.
- Create a text classification model from text files.## Prerequisites
This sample **requires** prerequisites in order to run.
### Overview
This bot uses the Dispatch service to route utterances as it demonstrates the use of multiple LUIS models and QnA maker services to support multiper conversational scenarios.
### Install .NET Core CLI
- [.NET Core SDK](https://dotnet.microsoft.com/download) version 3.1
```bash
# determine dotnet version
dotnet --version
```### Use Dispatch with Mulitple LUIS and QnA Models
To learn how to configure Dispatch with multiple LUIS models and QnA Maker services, refer to the steps found [here](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-dispatch?view=azure-bot-service-4.0).
## To try this sample
- Clone the repository
```bash
git clone https://github.com/zayedrais/Covid19Bot.git
```- In a terminal, navigate to `Covid19Bot`
- Run the bot from a terminal or from Visual Studio, choose option A or B.A) From a terminal
```bash
# run the bot
dotnet run
```B) Or from Visual Studio
- Launch Visual Studio
- File -> Open -> Project/Solution
- Navigate to `Covid19Bot` folder
- Select `Covid19Bot.csproj` file
- Press `F5` to run the project## Testing the bot using Bot Framework Emulator
[Bot Framework Emulator](https://github.com/microsoft/botframework-emulator) is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.
- Install the Bot Framework Emulator version 4.3.0 or greater from [here](https://github.com/Microsoft/BotFramework-Emulator/releases)
### Connect to the bot using Bot Framework Emulator
- Launch Bot Framework Emulator
- File -> Open Bot
- Enter a Bot URL of `http://localhost:3979/api/messages`## Dispatch
Once you are confortable with the concepts presented in this sample, you may want to configure Dispatch using a CLI tool. [Dispatch CLI](https://github.com/Microsoft/botbuilder-tools/tree/master/packages/Dispatch) is a CLI tool that enables you to create a dispatch NLP model across the different LUIS applications and/ or QnA Maker Knowledge Bases you have for your bot.
## Deploy the bot to Azure
To learn more about deploying a bot to Azure, see [Deploy your bot to Azure](https://aka.ms/azuredeployment) for a complete list of deployment instructions.
## Further reading
- [Bot Framework Documentation](https://docs.botframework.com)
- [Bot Basics](https://docs.microsoft.com/azure/bot-service/bot-builder-basics?view=azure-bot-service-4.0)
- [Using LUIS for Language Understanding](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-luis?view=azure-bot-service-4.0&tabs=js)
- [LUIS documentation](https://docs.microsoft.com/en-us/azure/cognitive-services/LUIS/)
- [Activity processing](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-activity-processing?view=azure-bot-service-4.0)
- [Azure Bot Service Introduction](https://docs.microsoft.com/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0)
- [Azure Bot Service Documentation](https://docs.microsoft.com/azure/bot-service/?view=azure-bot-service-4.0)
- [.NET Core CLI tools](https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x)
- [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest)
- [Azure Portal](https://portal.azure.com)
- [Language Understanding using LUIS](https://docs.microsoft.com/en-us/azure/cognitive-services/luis/)
- [Channels and Bot Connector Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-concepts?view=azure-bot-service-4.0)