GithubHelp home page GithubHelp logo

zackbradshaw / oobabot-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrisrude/oobabot-plugin

0.0 0.0 0.0 1.94 MB

A Discord bot plugin to text-generation-webui, based on oobabot.

Home Page: https://github.com/chrisrude/oobabot

License: MIT License

JavaScript 0.57% Python 94.70% CSS 4.73%

oobabot-plugin's Introduction

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!

oobabot-plugin's People

Contributors

chrisrude 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.