Chatbot Based on Python
Python = 2.x.x
Flask
Aiml
pip
-
Clone the whole project in /var/www/html
-
Run the command : $ sudo chmod -R 777 /var/www/html/Chatbot/*
-
Activate the venv $ cd /var/www/html/Chatbot $ source venv/bin/activate
-
Run the API $ python chat_api.py
you can get output by using the curl request to url <your_ip>:5000/api/chatbot?message=<your_message> example if you're having IP : 192.168.1.22
request for 192.168.1.22:5000/api/chatbot?message=Hello response --> json in which it contains a status and an output.