This is a 200 lines implementation of Chatterbot Corpus Chatbot, please read the following references before you read the code:
The Unreasonable Effectiveness of Recurrent Neural Networks Understanding LSTM Networks (optional)
Core module : https://github.com/gunthercox/chatterbot-corpus
Python 3 TensorFlow >= 2.0 TensorLayer >= 2.0
Training python3 chatbot.ipynb
Query > happy birthday have a nice day
thank you so much thank you thank bro thanks so much thank babe i appreciate it
Query > who are you
i am just an artificial intelligence
Query > ok bye
why? will u die