What is a chat-bot and why now. In Today's world many company are employing use of chat-bot to automate customer interaction, so many website we come across also have chat-bot integrated even this.
Chat-bot is a computer program that simulates and processes human conversation, allowing humans to interact with digital devices as if they were communicating with a real person.
In this tutorial we are going to develop Nyayozangu learn chat bot to automatically reply customer or answer any query regarding learn.co.tz
Since we are going to develop a deep learning based model, we need data to train our model. Therefore We are creating our own datasets in order to train the model.
In our Datasets, An “intent” is the intention of the user interacting with a chat-bot or the intention behind each message that the chat-bot receives from a particular user.
Implementation The required python packages are as follows, tensorflow nltk colorama numpy scikit_learn Flask Note: you might see (dp) means deep learning
Intents: Create a file and name it intents.json-> then write or define your dialogue in a given format (format is given in git repository) you can define many parameters to fit in Dp learning model
Remember deep learning models require enough data for the model to train well and identify the patterns, to get good results and accuracy you need enough data, just for learning we only have small.
If you want to run implementation in your machine create a virtual environment for the chatbot. The python library that is used to create the virtual environment is “virtualenv”.