Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (21 loc) · 2.24 KB

README.md

File metadata and controls

35 lines (21 loc) · 2.24 KB

Setup:

  • 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

Usage:

  • 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

1

  • 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 )

2

  • make sure you type the language correctly!

3

  • now the fun part, optionally you can train the bot with whatsapp chat, exported from your mobile phone (without media)

4

  • check the opened .txt file and make sure everything looks alright, then press "y" and hit enter. This will take a few seconds

5

  • thats it! you can start the bot now and enjoy fun responses to your inputs based on the trained data.

6