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.
This samples requires prerequisites in order to run, the required packages are found in requirements.txt
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.
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.
- 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
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
- Launch Bot Framework Emulator
- File -> Open Bot
- Paste this URL in the emulator window - http://localhost:3978/api/messages
To learn more about deploying a bot to Azure, see Deploy your bot to Azure for a complete list of deployment instructions.