- download and install python
- download this repo from > https://github.com/SirDank/dank.ai/archive/refs/heads/main.zip
- extract folder anywhere
- run setup.cmd
- go to C:\Users\YOUR_USERNAME\AppData\Roaming\Python\YOUR_PYTHON_VERSION\site-packages\sqlalchemy\util\compat.py and replace "time.clock" with "time.time"
- if you are on py 3.10 or above, go to C:\Users\YOUR_USERNAME\AppData\Roaming\Python\YOUR_PYTHON_VERSION\site-packages\yaml\constructor.py and replace "collections.Hashable" with "collections.abc.Hashable"
- make sure you have internet and then run start.cmd
- on running the script, a subfolder will be created called "dank.ai" this will hold all the data used by the script. If you would like to reset the chatbot, simply delete this folder
- first you need to train the bot with corpus ( this is required and only needs to be done once, unless you have reset the chatbot )
- make sure you type the language correctly!
- now the fun part, optionally you can train the bot with whatsapp chat, exported from your mobile phone (without media)
- check the opened .txt file and make sure everything looks alright, then press "y" and hit enter. This will take a few seconds
- thats it! you can start the bot now and enjoy fun responses to your inputs based on the trained data.