/OpenChapo

Open-Source discord AI chatbot based on El Chapo

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

OpenChapo 🤖

Open-Source discord AI chatbot using Ollama, based on the El Chapo bot from the WSE Discord Server.

Setup

First, create the model. (Make sure you have llama2-uncensored installed already)

ollama create chapo -f ./Modelfile

Then, create the discord bot in the Discord Dev Portal Make sure you enable the Message Content Intent image

Then, open config.py and change the token placeholder to your discord bot token.

Once this is all done, run python3 -m pip install -r requirements.txt.

Then, finally, run python3 main.py to run your El Chapo bot.

Usage

You can message chapo by typing his name into the message, like this:

image

Chapo will respond in 10-15 seconds depending on your CPU power.