The PTTBot is the course project of Intelligent Conversational Bot (2017 ICB) and win the prize awarded by EmotiBot.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Please download packages by executing download.sh before running the code:
$ bash download.sh
The python version is Python 2.7. The required library is listed below .
Flask==0.12.2
gym==0.10.5
h5py==2.7.1
keras-rl
tensorflow==1.0.0
keras>=2.0.2
h5py>=2.6.0
pandas>=0.13.1
apiai
(Recommend) Automatically Install by one command .
$ cd PTTBOT_DEMO
$ pip install -r requirements.txt
Change Keras configuration.
image_data_format
and backend
in ~/.keras/keras.json
{
"epsilon": 1e-07,
"floatx": "float32",
"image_data_format": "channels_last",
"backend": "theano"
}
$ python server.py
To test the chatbot, open the browser and type in http://localhost:5000 link
Chung Kai Hsieh |
HungWei-Andy |
ChaohuiYu |
Zheng Pei Chun |
---|
2017 Chatbot Competition : Emotibot Reward