Giter Site home page Giter Site logo

chatbot_clinic's Introduction

Chatbot Clinic

Developing virtual characters for use with large language models can be a process that more closely resembles alchemy than engineering. Endless tinkering around with character descriptions, followed by unscientific "tests" where a few chat messages are exchanged with the bot, and at last a semi-educated guess on whether the change has been an improvement or not.

Chatbot Clinic is an extension for text-generation-webui that automates and formalizes that process. It brings science to the art of creating chatbots.

How it works

1️⃣ Configure as many chatbots as you like

Each one can have its own context and generation parameters. This allows you to comparatively evaluate both character descriptions and parameter presets, or any combination thereof.

Step 1

2️⃣ Chat with all of them simultaneously

When you send a message to the chat, you receive a reply from each of the configured bots. Clicking on your preferred reply continues the chat with that reply, and records this as a vote for the bot that wrote it.

The replies are presented in random order and without identifying the bots, to avoid any potential source of bias and ensure that your vote is based solely on the content of the replies.

Step 2

3️⃣ See which one you voted for the most

Numbers talk, bullshit walks! The statistics view gives you a breakdown of how many votes you gave to each bot's replies, so you can make an informed decision on which bot is "best", without having to rely on any hunches.

Step 3

Installation

Installing Chatbot Clinic follows the standard process for installing text-generation-webui extensions, namely:

  1. Install and run text-generation-webui.
  2. Navigate to the Session tab.
  3. Paste the URL https://github.com/p-e-w/chatbot_clinic into the textbox labeled Install or update an extension and press Enter.
  4. Restart text-generation-webui.
  5. In the Session tab, check the entry chatbot_clinic under Available extensions, then click Save UI defaults to settings.yaml, then click Apply flags/extensions and restart.
  6. Make sure you have installed and loaded a language model.
  7. Navigate to the Chatbot Clinic tab to use the extension.

License

Copyright © 2023 Philipp Emanuel Weidmann ([email protected])

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

By contributing to this project, you agree to release your contributions under the same license.

chatbot_clinic's People

Contributors

p-e-w 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.