Git Product home page Git Product logo

dank.ai's Introduction

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

dank.ai's People

Contributors

sirdank avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.