An AI chat bot with a pyqt5 GUI using Tensorflow.
- Like other chatbots, this bot is also using A json file and A chat medel.
- This bot has two python files,
- main.py - main code
- train.py - to train the bot's model (chatmodel)
Installation
-
Requirments (Will need only if you use .py files),
- Tensorflow.
- python3 (I'm using 3.10)
- pyqt5
- sklearn
-
Clone the repository.
How to use? (In windows you without python files)
- Run BOT.
- In windows you can simply use the exe files.
- Find the shortcut named 'BOT' in the folder named 'AIROBOTGUI'.
- Copy & Paste it to your desktop,
- Then double click on it. Tis will run the bot and show you a cute GUI.
- Train bot.
- If you want to add more commands, just open the 'intents.json' and add them in it on this order,
- A tag.
- Questions.
- Answers.
- Then simply run the train.exe. It will pop up a terminal window (A cmd) and closed automatically after the model is trained.
Using python files
- Run BOT.
- In windows,
python main.py
- In linux (If tensorflow works well),
python3 main.py
- Train bot.
- If you want to add more commands (Same as up above), just open the 'intents.json' and add them in it on this order,
- A tag.
- Questions.
- Answers.
- Then simply run the train.py. It will pop up a terminal window (A cmd) and closed automatically after the model is trained.
- In windows,
python train.py
- In linux.
python3 train.py

