Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashharr/chatbot-ml-sih-2019
A Customer Support Chatbot using Machine Learning for Smart India Hackathon 2019 ( Winning Idea)
https://github.com/ashharr/chatbot-ml-sih-2019
chatbot dialogflow dialogflow-api python
Last synced: 4 days ago
JSON representation
A Customer Support Chatbot using Machine Learning for Smart India Hackathon 2019 ( Winning Idea)
- Host: GitHub
- URL: https://github.com/ashharr/chatbot-ml-sih-2019
- Owner: ashharr
- Created: 2019-03-19T18:09:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T00:17:53.000Z (over 1 year ago)
- Last Synced: 2023-07-28T10:31:31.624Z (over 1 year ago)
- Topics: chatbot, dialogflow, dialogflow-api, python
- Language: Python
- Homepage:
- Size: 438 KB
- Stars: 12
- Watchers: 4
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chatbot-ml-SIH-2019
A Customer Support Chatbot using Machine Learning for Smart India Hackathon 2019 ( Winning Idea)Problem Definition / Idea:
The Solution is that we have created a chatbot that responds to the request made by the customer by searching the DB for solutions.
Our chatbot is capable enough to interpret to all queries of the customers , analyze them and understand the intent of the queries.
The chatbot shall search the entire database for resolution to the problems. If the best solution is found then Chatbot will directly
provide the solution to the customer's concerned queries. On the contrary , if no solution is found, then chatbot will handover the
problem to the Support Staff available to interpret the query and provide a better solution by interacting with the customer. Having
interacted with the customer and finding new solutions for different queries, the solutions would get updated in the data base wherein
the chatbot shall be prepared to handle similar queries in future.
The Database has been maintained using SQL Alchemy and will be integrated with the NLP engine using Dialogflow API’s which can accomplish word embedding
intent and entity detection.Technology Stack:
1. Dialogflow(NLP training and Webhook):
Dialogflow which is powered by Google was used to create intents and entities with respect to the domain that was selected i.e.
Mutual Funds.Based on the intents the Chatbot was trained, Small Talk is a feature offered by Dialogflow was also incorporated into the Chatbot.
2. Python ( Sentimental Analysis and Sentence similarity )
To work on the default fallback intent we used python modules such as vaderSentiment to do Sentimental analysis so as to verify
whether the query is a Feedback or a Complaint. Part of speech tagging was also done using NLTK.corpus module.3. Flask(API and REST API)
Representational State transfer (REST) API was used as a web API and was implemented using flask microframework.
4. SQLAlchemy(Data Base)
The identified query which is fallback content is updated in the database to provide its solution when asked the next time
5. Ngrok(local web server)
Secure web tunnel was created to handle the requests along with public URL. It listens on the same port that your local web server is running on.
This URL was used to connect to Dialogflow API using webhook feature.
Integrations:
Whatsapp using Twilio
Skype
Telegram
Google Assistant