ChatBot based on a Insurance Banking Bot to Human User question-answering system.
Domain: Frequently asked questions related to a Insurance Policy pertaining to HDFC Bank.
Requirements for running the code:
- Install Pandas: pip3.4 install --user pandas
- Install Numpy: pip3.4 install --user numpy
Run:
python3.4 corpus_gen.py python3.4 BankFAQbot.py
Details:
-
This chat-bot is based on a Insurance Banking Bot to Human User question-answering system.
-
Questions were first stored in JSON file, which were originally retrieved from a Banking website.
-
The JSON file were then transformed into a CSV file(where the section names were used as class names).
-
The CSV file as well as the question asked by the user is processed using tf-idf vectorizing.
-
When User asks a question, and the answer is not satisfactory – a list of suggestions of questions is given.
Eg: if a question based on “loan” is asked, few suggestions are given based on “loan” word.
Example Questions:
- What is meant by disease?
- Why do I need health insurance?
- Where can I get the list of hospitals extending the cash facility?
- Why should I buy critical illness insurance?
- What is a Benefit policy?
- What are pre and post hospitalisations expenses?
- How do I renew my policy?
- Who all can be covered under the Family Floater Plan?
- I am an NRI. Can I invest in this plan?
- Can the policy be cancelled?
- Can I buy more than one policy?
- How do I activate a 'Dormant' Savings Account?
- What is the frequency of interest payout for a Savings Account?
- How do I change/Add my Mobile number?
- How long does the Standing instruction given will be valid?
- What is CIBIL?
- What is Pledge?
- Who can resolve my queries?
- What is pre-EMI interest?
- How is online investing more convenient?