Skip to main content

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.

python lint and test with poetry

Installation

  1. Install oobabooga/text-generation-webui, and get a model running on it.

  2. 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
    
  3. Then just run this to create the oobabot plugin directory (./extensions/oobabot) and install the plugin's hook (script.py) into the Oobabooga server:

    oobabot-plugin install
    
  4. 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

image

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!

Release files for oobabot-plugin 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oobabot-plugin 0.2.3
File Size Uploaded
oobabot_plugin-0.2.3.tar.gz 25.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oobabot-plugin 0.2.3
File Interpreter ABI Platform
oobabot_plugin-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 55.9 kB

Release files / oobabot_plugin-0.2.3.tar.gz

Download URL oobabot_plugin-0.2.3.tar.gz
Size 25.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bb1be7dc6b8cb473d642ed3d328f90a57220ca248faebac4bd5186b77b56a25b
BLAKE2b-256 checksum
How to use checksums
5262ac22a4136d961e9efc9184445556c11b2d183495a6c7cd4430529564fae1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.3 Darwin/22.4.0

Release files / oobabot_plugin-0.2.3-py3-none-any.whl

Download URL oobabot_plugin-0.2.3-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
854c4b1657198a30ba1d2cd6d44091fc29c74a1264e82553ed66cbfcd04a3900
BLAKE2b-256 checksum
How to use checksums
3be7d747cd90ba7b4fb14afde1f3c5abe6258a23b9e296c7eebcbbcccb95b5e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.3 Darwin/22.4.0

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page