Make your own Chat bot Using Deep Learning and Python

1

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.

2

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.

3

In this tutorial we are going to develop Nyayozangu learn chat bot to automatically reply customer or answer any query regarding learn.co.tz

4

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.

5

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.

6

Implementation The required python packages are as follows, tensorflow nltk colorama numpy scikit_learn Flask Note: you might see (dp) means deep learning

7

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

8

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.

9

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”.

10