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

Simple chatbot which can be trained with whatsapp chat to give fun responses

License

Notifications You must be signed in to change notification settings

SirDank/dank.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple chatbot which can be trained with whatsapp chat to give fun responses

Topics

Resources

License

Stars

Watchers

Forks