/nd073-c2-Dental-Office-Virtual-Assistant

Starter Code for Azure AI Engineer Course 2 Dental Office Virtual Assistant

OtherNOASSERTION

DOVA (Dental Office Virtual Assistant)

DOVA is a virtual assistant available for users visiting the Contoso Dentistry website. It answers your general FAQs as well as informs you about the available slots and schedules appointments for the patients.

Getting Started

This repository has been divided into multiple branches to isolate the codebase for independentally running CI/CD on multiple modules.

  1. Chatbot
  2. Contoso Dentistry Website
  3. Appointment Scheduler

The .yml file for each module is present in the respective branch.

Installation

The required NPM packages can be downloaded by typing the following command in the terminal

npm install

Testing

To test the bot locally, make sure you download and install the Microsoft Bot Framework Emulator. Once the installation for required packages is complete, you can start the bot by typing the following command in the terminal

npm start

Now, start the Bot Framwork Emulator and click on the 'Open Bot' on the Welcome screen. In the Bot URL, type in the following link

http://localhost:3978/api/messages

Copy and paste the Microsoft App ID and Microsoft App Password from the .env file.

Demo

  1. The QnA maker is first used to create a Knowledge Base which can be then queried by the chatbot to provide answers to the FAQs. qna-maker

  2. Next, we train a LUIS model to identify two intents:

  • Get availability of slot
  • Schedule an appointment luis-intent
  1. The modified bot code can be seen in the screenshot attached below. bot-code

  2. The bot can be then tested locally using the Microsoft Bot Framework Emulator as can be seen below. bot-local

  3. Once tested locally, these modules are then pushed to Github and hosted on Azure App Service using CI/CD. github-ci-cd

  4. After deploying the bot on Azure App Service, the same can be tested using the 'Test in Web Chat' UI present on the Azure Portal. test-webchat

  5. Finally, the bot can be added to the Contoso Dentistry website and tested. website-bot-test

License

License