A simple command based chatbot developed for institutional queries. User suggestions can also be added into the database.
-
Install python (latest version preferred)
-
Open command prompt. Type
pip install python-aiml
and press enter to install aiml modules for python. Your device should be connected to internet. -
Type
python -m pip install cx_Oracle --upgrade pip
. -
Then download the file available here. Extract it to "C:/oracle"
-
In system environment variables find out the "PATH" variable. Then add "C:/oracle/instantclient" path to it. Make sure you add it on the top.
-
Extract these files to one folder.
-
Copy all the sql commands and programs written in sqlFile.txt and paste them to oraclexe. It will create all the required tables, procedures and functions.
-
Open command prompt in that folder. Type
python chatbot.py
and press enter to run the bot. -
While the programm is running, type "save" and press enter to save the changes in zerone.aiml file.
-
While the programm is running, type "load aiml bot" and press enter to load the changes saved.
-
To make the bot learn, type "learn" and press enter.
-
To end learning process, type "end" and press enter.
-
To terminate the program, type "bye" and press enter.
-
Set a strong password.
-
Remember your userid. Because it is randomly generated. You can't change it.
Report can be found here.