#Wit Facebook Chatbot for international students
For years, in-person meetings and phone calls were the dominant means of communication in society and business. Nowadays, with the rise of the internet, a multitude of new options became available (email, social media, mobile apps or filling out a form on a website and waiting for a follow-up). However, recently, the rise of real-time messaging has led to a fundamental shift in how people prefer to communicate with one another.
Chatbots are staring to become more and more popular, even more now that they can study, and answer questions in a shorter time. Our group is composed by international students, and we want to use this technology to support future international students in FH Joanneum, because we understand all difficulties living in a different country with different traditions. We conducted a survey between international students and we found that the biggest difficulties are:
- Timetable changes;
- Administrative questions;
- Contacts of international office;
- Working hours of Mensa;
- Working hours of international office;
- Additional information for incoming students;
- Upcoming events;
- How to find Moodle and Official website of FH Joanneum;
- Currency of EUR;
- Weather changes;
- Etc.;
Our main goal is to create a chatbot to make it easier for new students to adapt in a new environment. Therefore, we decided to implement most of the features mentioned above as well as simple conversation with users.
In the future, the chatbot can be developed, trained, educated in a way that it will be able to answer almost every question of the student (not only incoming ones) and notify all students of FH Joanneum about:
- Exam dates;
- Deadlines;
- Grades;
- And other academic issues;
A Python bot, that contains a Flask server designed to be deployed on Heroku. The application uses a bot made using the Python API from Wit.ai and the Facebook Messenger API.
BEFORE STARTING CREATING THE CHATBOT WATCH THIS VIDEO TUTORIAL !!!
Fork this repository and clone.
git clone https://github.com/{your_id}/Wit-Facebook.git
cd Ramilchat
For local development make sure you install the development requirements:
pip install -r requirements.txt
pip install -e .
Setup your wit.ai App Setup your Facebook Page This code assumes the above have been set up and trained according to the quickstart guide by Facebook.
You can find information on how to set up the above in the Guide by Facebook.
Install the Heroku CLI Download and install the Heroku CLI.
If you haven't already, log in to your Heroku account and follow the prompts to create a new SSH public key.
$ heroku login
Clone the repository Use Git to clone ramilchat's source code to your local machine.
$ heroku git:clone -a ramilchat
$ cd ramilchat
Deploy your changes Make some changes to the code you just cloned and deploy them to Heroku using Git.
$ git add .
$ git commit -am "make it better"
$ git push heroku master
Setup your Facebook Webhook callback to the heroku app you deployed. Set the following in your HEroku Config Variables:
WIT_TOKEN = "your wit.ai token"
FB_PAGE_TOKEN = "your facebook page token"
FB_VERIFY_TOKEN = "your webhook verification token"
Finally go to the Facebook page you made and chat to the bot!
Hi! How can I help you?
Hi! I am fine! What about you? 🙂
That's GOOD!!!
I like chatting.
11.07.2018 (Mittwoch) at 09:00 - 16:00 in K.WS46A.216 HS216
11.07.2018 (Mittwoch) at 09:00 - 16:00 in K.WS46A.216 HS216
I see. That's GOOD!
Sorry! I can not find this course...
The temperature is: +13C. Feels like +13°C. overcast, no significant precipitation
The temperature is: +15C. Feels like +15°C. overcast, no precipitation
1 USD in KZT = 339.662
100 usd in EUR = 85.7396
Visit https://www.docfinder.at . There you can find the nearest doctor. I hope you feel better soon!
The next event is SOMMERFEST: 28th of June!
https://en.wikipedia.org/wiki/Arnold_Schwarzenegger
https://www.google.com/search?q=the+distance+between+Earth+and+Moon http://www.answers.com/Q/the_distance_between_Earth_and_Moon
Monday to Thursday: 7:30-16:00; Friday: 7:30 - 19:00; Saturday: 9:30-13:30; Lunch menus: Monday to Friday: 11:00-15:00;
- De-register your residence
- De-register for health insurance
- Close bank account
- Make sure all payments are done, hand in keys etc. For more information contact: international@fh-joanneum.at
The Name Uranus is Over 2,500 Years Old
Q: Is Google a he or a she? A: A she, no doubt, because it won‘t let you finish your sentence without suggesting other ideas.