Husseinelghoul / microsoft-bot-service

Insurance company chat-bot that answers questions, books appointment, retrieved information from SQL Database and uses Google Places API to get Hospitals and Pharmacies information, Created using Microsoft Bot framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Insurance company ChatBot

Insurance company chat-bot that answers questions, books appointment, retrieved information from SQL Database and uses Google Places API to get Hospitals and Pharmacies information. This bot has been created using Bot Framework.

Prerequisites

This samples requires prerequisites in order to run, the required packages are found in requirements.txt

Overview

This bot answers client's questions using QnA Maker Service, this bot get appointments for clients and saves it in a mysql database hosted on heroku.com. It also informs clients about products and services of GlobMed Lebanon insurance company and the healthcare providers that are associated with the company, in addition it uses [Google Places API] (https://cloud.google.com/maps-platform/places/). The ChatBot could also check the database to inform clients about their claims.

Link the bot to the QnA knowledge base and database

In order to run the bot properly, you will need the configuration file that contains the database and knowledge base credentials. this file should be named config.py and placed in the repository main directory.

Running the sample

  • Clone the repository
git clone https://github.com/Microsoft/botbuilder-samples.git
  • Bring up a terminal, navigate to botbuilder-samples\samples\python\11.qnamaker folder
  • Activate your desired virtual environment
  • In the terminal, type pip install -r requirements.txt
  • Add the config.py file
  • Run your bot with python app.py

Testing the bot using Bot Framework Emulator

Microsoft Bot Framework 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 from here

Connect to bot using Bot Framework Emulator

Deploy the bot to Azure

To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.

Further reading

About

Insurance company chat-bot that answers questions, books appointment, retrieved information from SQL Database and uses Google Places API to get Hospitals and Pharmacies information, Created using Microsoft Bot framework.


Languages

Language:Python 100.0%