COVID-19 Metric BoT With LUIS Development Process

Introduction 

 
Hi guys, let's explore a way of creating a health care Covid-19 Metric BoT with LUIS using the Metric Template from Microsoft. It can be used to check corona-affected patient symptoms with employees of your organization.
 
This BoT was launched on April 6th 2020 very recently along with other Health Care BoTs covered in my 3 previous blogs.
 
Steps 
 
Log in to portal.azure.com >> Search for Health care BoT >> Start filling out the form just like you would do for other HealthCare BoTs >> Click Subscribe and wait until the deployment in progress is finished >> Wait for the Bell icon to show the Completed Notification >> Click on it to get redirected >> Click Configure Account >> Create
 
Finally, it leads to the below BoT Manage page >> Go to scenarios >> Manage >> Template Catalog >> COVID-19 Metrics
 
**You need to provide a LUIS key to complete this Metrics HealthCare BoT.
 
Go to Predefined Domains
 
Add all suitable Domains like Calendar, Communication, Email, etc.
 
 
Automatically, your Intents and Entities sections are updated with items related to the above-selected Predefined Domains.
 
We can add more necessary info as mentioned below, with snaps for a better understanding:
  • Review endpoint utterances
  • Intents
  • Entities of the following categories:- Simple, Hierarchical, Complex (includes multiple Child Entities+Multiple Roles as shown below), List (with multiple Values+Roles), RegEx (multiple Roles), Pattern, etc.
  • Phrase Lists
  • Patterns etc.
 
 
 
 
 
 
 
 
 
 
Configure Azure Resources >> Change Authorization of required source
 
 
 
Now Click Train >> Test >> Publish
 
 
 
 
 
Copy the Application ID, for example:- 4e86a029-971b-459a-b23d-019e73a83bb9
 
Use it while you are assigning COVID Metrics Template to the Metrics BoT created >> Click Import Template >> Click Run >> Start Testing >> Do more Customizations using the Design/Code view
 
 
 
 
 
Click Save once finished updating.
 
Check for your Health Care BoT details anytime over here:- https://admin.healthbot.microsoft.com/
 
** Assign Permissions using Share Options, but only One User at a time and from the same Organization/Tenant possible.
 
Go to Channels and get the BoT IDs or Secret Keys for various Publishing options on different Locations/Environments:
 
Eg. Deploying this BoT on MS Teams using MS Teams BoT ID
 
Deploy it on SharePoint site using SPFx Extensions by making use of a Direct Line Key
 
SPFx Deployment
  • Deploy it on SharePoint site using SPFx Extensions by making use of a Direct Line Key
  • Steps to follow after doing all changes to your SPFx solution (Use Direct Line details)
  • Go through my previous Blog and check deploying and adding your COVID-19 Microsoft BoT as an extension in the SharePoint Online site section to follow the same steps for SPFx Extension implementation on a Modern SharePoint Site Page.
Additional commands for any further customization
  • Gulp clean
  • Gulp bundle --ship
  • gulp package-solution –ship
  • Gulp Serve
  • Upload in your AppCatalog Portal[https://<TenantName>.sharepoint.com/sites/appcatalog/AppCatalog/Forms/AllItems.aspx] and check for any errors. Troubleshoot them on any Errors.
  • add the app in your site collection to have the experience.
A Cool sample of simple Demo Presentation of Triage BoT on Teams can be seen below:
 
 
Happy Covid-19 Metric BOT with LUIS Development, Deployment & Usage in your respective Organizations with the above process. Cheers!