This chatbot system is integrated with artificial intelligence and natural language processing. This chatbot utilize the feedforward neural network model to train the datasets. Kivy and KivyMD are used to create the app's graphical user interface.
To run this project, you will need the following:
Python 3.6 or above
kivy 2.0.0
kivymd 0.104.1
TensorFlow 2.4.0 or above
NLTK 3.6.7
Numpy 1.18.5 or above
Pandas 1.0.4 or above
You can install these packages by running the following command:
conda install --file requirements.txt
-
Download or clone the repository to your local machine
-
Install the required packages
-
Open a terminal and navigate to the project directory.
-
Run the following command to start the chatbot:
python main.py
- Fonts: contains the fonts used in the project
- Images: contains the images used in the project
- JSON_FILES: contains the intents.json file used for training the model
- Kivy Files: contains the kivy files for building the chatbot interface
- pickle_files: contains the words.pkl and classes.pkl files used for loading the model
- Results: contains the results of the chatbot's performance
- training.py: script for training the model using neural network
- main.py: script for running the chatbot chatbotmodel.h5: trained model file
- PyCharm 2021.3 (Community Edition)
- Python
- TensorFlow
- NLTK
- Kivy and KivyMD
- The research paper for this project can be found on ResearchGate
- Watch the demo of the chatbot here Youtube
This project utilizes state-of-the-art natural language processing and neural network techniques to provide a mental health chatbot in Bahasa Malaysia. However, please note that the accuracy of the chatbot may be limited due to the lack of a large amount of conversational data in Bahasa Malaysia. Nevertheless, we believe that the chatbot can be improved by providing more datasets for training. Your contributions in terms of data or feedback would be highly appreciated.
