A Discord bot plugin to oobabooga's text-generation-webui, based on oobabot.
Project description
Oobabot-plugin
oobabot is a Discord bot which talks to a Large Language Model AIs (like LLaMA, llama.cpp, etc...), running on oobabooga's text-generation-webui.
This is a plugin which allows oobabot to run from within the text-generation-webui server, and offer a web interface to the bot.
Installation
-
Install oobabooga/text-generation-webui, and get a model running on it.
-
from a command prompt, activate the same conda environment you used to install text-generation-webui, and install the plugin from PyPi:
conda activate textgen pip install oobabot-plugin
-
Then just run this to create the
oobabotplugin directory (./extensions/oobabot) and install the plugin's hook (script.py) into the Oobabooga server:oobabot-plugin install -
Finally. restart the Oobabooga enabling the both the oobabot plugin and the API plugin. E.g.:
python server.py --extensions api oobabot
Hopeful success! You should now see a new "oobabot" plugin under the "interface mode" tab.
Preview
Motivation
There are a number of Discord bots which can talk to a Large Language Model AI, but many take a lot of setup. I think this technology is amazing, and I want to make it easy for anyone to experience it by running their own bot, which they can own and customize to their own needs.
If you have any issues, suggestions, or comments, please file an issue in github Have fun!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oobabot_plugin-0.2.3.tar.gz.
File metadata
- Download URL: oobabot_plugin-0.2.3.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb1be7dc6b8cb473d642ed3d328f90a57220ca248faebac4bd5186b77b56a25b
|
|
| MD5 |
e8739c4f998c3e9969237351e7e175a8
|
|
| BLAKE2b-256 |
5262ac22a4136d961e9efc9184445556c11b2d183495a6c7cd4430529564fae1
|
File details
Details for the file oobabot_plugin-0.2.3-py3-none-any.whl.
File metadata
- Download URL: oobabot_plugin-0.2.3-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.3 Darwin/22.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
854c4b1657198a30ba1d2cd6d44091fc29c74a1264e82553ed66cbfcd04a3900
|
|
| MD5 |
8e9ccc3d1e28ad0a0e56eb96bcfb1c06
|
|
| BLAKE2b-256 |
3be7d747cd90ba7b4fb14afde1f3c5abe6258a23b9e296c7eebcbbcccb95b5e8
|