Skip to content

Hevanthika/COVID-19-Assistive-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

COVID-19 Assistive Chatbot

COVID-19 Assistive Chatbot is an interactive tool to help patients get answers to their questions and for an assessment of symptoms related to coronavirus. This would enable sharing of information about COVID-19 instantly to people around the globe and would be accessible 24/7. This would aid people in multiple ways by providing accurate and needful information about the disease thus helping them to know about the virus distinctly and what next to do to get treated best. The COVID-19 aid specialized chatbot can also clear various doubts related to the disease.

This COVID-19 Assistive Chatbot is created using Azure Cognitive Services, QnA maker and Web App Bot Service in Azure.

It is deployed in Azure and acts as a full-fledged Web App Bot in the Azure platform.

The name of the Azure Web App Bot is "hey-bot".

Firstly, a QnA Maker namely hey-bot was created in the Azure platform using Azure Cognitive Services.

Screenshot (778) https://portal.azure.com/#@hevanthikamoutlook.onmicrosoft.com/resource/subscriptions/72ca33ff-072b-4dab-908c-a9decafb3705/resourcegroups/azurebot/providers/Microsoft.CognitiveServices/accounts/hey-bot/overview

Then the knowledge base for the QnA Maker hey-bot was published. Screenshot (781) It was tested Screenshot (782) The knowledge base was saved and trained.

Sample code of the knowledge base Sample HTTP Request - Postman POST /knowledgebases/02750aab-5e25-4328-85b2-35b79d5e6477/generateAnswer Host: https://hey-bot.azurewebsites.net/qnamaker Authorization: EndpointKey c07050da-545f-475d-9632-e3cdedda85f8 Content-Type: application/json {"question":""}

Then an App Service was created for the QnA Maker Bot.

Screenshot (786) Screenshot (787) Screenshot (788) https://portal.azure.com/#@hevanthikamoutlook.onmicrosoft.com/resource/subscriptions/72ca33ff-072b-4dab-908c-a9decafb3705/resourceGroups/DefaultResourceGroup-EUS/providers/Microsoft.Web/sites/hey-bot-a585/appServices

Finally, the Web App Bot (hey-bot) was created and deployed in Azure.

Screenshot (790) https://portal.azure.com/#@hevanthikamoutlook.onmicrosoft.com/resource/subscriptions/72ca33ff-072b-4dab-908c-a9decafb3705/resourcegroups/DefaultResourceGroup-EUS/providers/Microsoft.BotService/botServices/hey-bot/overview

The Bot source code file from the Azure Web App Bot is added as a zip file by the name hey-bot-src.zip in the repository.

The Web App Bot in tested using the Test in Web Chat feature.

Screenshot (792)

Web App Bot deployed in Azure and its Test in Web Chat link is provided below: https://portal.azure.com/#@hevanthikamoutlook.onmicrosoft.com/resource/subscriptions/72ca33ff-072b-4dab-908c-a9decafb3705/resourcegroups/DefaultResourceGroup-EUS/providers/Microsoft.BotService/botServices/hey-bot/test

Some questions that can be asked to the ChatBot:

  1. What is COVID-19?
  2. How does COVID-19 spread?
  3. How do I know if it's COVID-19 or just common cold?
  4. What can I do to protect myself and prevent the spread of the disease?
  5. Is there a drug or treatment for COVID-19?
  6. How long is the incubation and transmission period for COVID-19?
  7. How long does the virus survive on surfaces?
  8. How can I protect myself?
  9. What should I do if I get sick or someone in my house gets sick?
  10. Should I use soap and water or hand sanitizer to protect against COVID-19?
  11. What are the recommendations for someone who has symptoms of COVID-19?
  12. What are the symptoms and complications that COVID-19 can cause?
  13. When should I seek emergency care if I have COVID-19?
  14. What is contact tracing?
  15. What antiviral drugs are available to treat COVID-19?

As an explorative approach, the Chatbot is put into usage in a simple custom website to indicate its use case. And hence this "COVID-19 Assistive Chatbot" built to succour Healthcare would wholly achieve its cause to provide vital, necessary and accurate timely information about the virus which is affecting people worldwide and help us fight against this disease strongly.

CHATBOT SITE LINK

https://sites.google.com/view/covid-19-assistive-chatbot/home

Screenshot (757) Screenshot (755)