Home Artists Posts Import Register

Content

I'm sure some of you have your own Discord communities, and this piece of code may be useful for you. 

It will retrieve information from your text documents, which you either manually supply or parse from your discord channels/forums, and reply with a short summary, followed by the most relevant documents with their respective links if available. 

It can also accept images as auxillary inputs and recognize text in them.

Repo

https://github.com/Sxela/WarpAIBot 

Installation

  1. Clone the repo
  2. Get MSVC Build tools and install the local c++ dev kit
  3. Get latest nVidia CUDA toolkit or at least 11.8+ and install it Don't forget to remove older versions. 4.Download tesseract OCR and install it.
  4. Run install_pytorch_only.bat
  5. Create your bot and add it to your server. Get its token.
  6. Specify your BOT_TOKEN, ADMIN id, and a list of CHANNELS to parse in run_template.bat, also edit TESSERACT if you installed it not in the default path.
  7. Put additional text files with FAQ or other info into warpfusion_db folder if needed

Running

  1. Run run_template.bat
  2. Type !fetch_all in a chat with the bot to parse the channels. Only ADMIN can do that.
  3. Mention the bot with a question and/or screenshot to get a response


Comments

No comments found for this post.