BoT: Balaur of Thought 5.21

A Silly Tavern script meant to force the square peg of common sense into the round hole of LLM-driven RP.
BoT is meant to manage dynamically-generated injects (analyses the LLM is meant to perform), static injects (guidelunes the user provides dirrctly), and chain-of-thought procscesses in a fairly convebient UI.
All this functionality aims to make the balaur of thought prompting technique, which involves creating a body of analyses, use them to generate a series of alternatives or headings and let the LLM generate a reply based on them.

There is a number of resources available:

  • The friendly manual contains a mirror of the built-in help menu.
  • Youtube playlist with tutorials and explainers. Be warned I am a programmer, not a youtuber and on top of that, I have a shitty accent.

IMÑORTANT

There was a stupid error on my side when I uploaded BoT 5.20, the fe name was bot5.20 but it contained 5.11 with a few changes.
5.21 is built upon 5.20, has additional bugfixes and, more important, is correctly uploaded.
Sorry for the inconveniences and confusion.

⭐ Changes⭐

  • Concept clarification: AGS refers to analysis, guideline, and/or sequence.
  • New tool: Added impersonation. Takes instructions from the chatbox or from an inputbox and uses them to impersonate user.
  • New sequences feature: Guidelines can now be added to sequences.
  • New AGS feature: Import/export sequences along with the analyses and guidelines they use.
  • New automation option: Automation frequency/counter submenu.
  • New feature: Auto unslop Replaces slop words/phrases with a random unslop string from a list. Not as good as KoboldCPP's banned tokens but works across all backends.
  • New button: aunlop. Lets you access and manage slop strings and their unslop arrays. This includes the ability to import/export slop/unslop pairs.
  • Rescued feature: Mindread: BoT4-style mindreads are back!
  • Feature renamed: Mindwrite: The same functionality as in BoT5.1X mindreads. Edit analyses results in an input box as they arrive, for the control freaks among you.
  • New tool: Clean log deletes all mindreads from the chatlog in case something went wrong with the autoremoval.
  • New QoL: BoT analyses are now saved to message's reasoning block. So old analyses don't just dissappear. For sequences, only results/guidelines on the final inject (behaviors Send and Both) are added.
  • New QoL: When adding a new AGS as well as when renaming them, BoT check for duplicate names.
  • New QoL: Restore messages deleted with the "Delete last" button.
  • Rethink improvement: Now using Same injects and New injects works much better for group chats.
  • Bugfix: Typos in the update code.
  • Bugfix: Library thingies correctly imported in the analysis menu.
  • Bugfix: Lubrary thingies correctly imported in the guidelines menu.
  • Bugfix: BOTAUS correctly called during install/initialization.
  • UI improvement: Input boxes are now bigger on desktop. This is client-side, so no need to tpuch the actual server.

Features

Bot adds a bunch of buttons and menus:

  • Analysis: The basic BoT feature. Takes a questionaire-like prompt, puts a prefix and a suffix around it, and has the LLM answer it; the answer is ephemerally injected into the context on next user message. New analyses can be added and existing ones modified or deleted; prefix and suffix can be enabled, disabled, and edited.
  • Guidelines: A simple guided generation like. Guidelines can be stored and reused, modified or deleted. It also allows to input a one-time guideline, which is immediately injected and triggers a LLM reply.
  • Sequences of analyses: A battery is basically a bunch of analyses grouped together. When performed, they run one by one and are injected in the same order. Like analyses, these can also be added, modified, and deleted.
  • Automation: An arbitrary number of analyses and sequences to be performed, each after an arbitrary interval.
  • Rethink: Last character message can be regenerated in three ways: By using the same injects as tbe iriginak, using whatever new analyses were generated e er since, or by using a rethink prompt and user-input.
  • Unslop: Reolaces known slop expressions with one of a list of unslop expressions. Kinda limited, but works independent from the backend.
  • Databank: Manages character and chat DB files. It keeps track of topics, only allowing one file per topic. If an entry on an existing topic is detected (by simple string comparison), user can replace, merge or concatenate the old entry with the new one. Entrkes can be manually typed in or be generated by the LLM. Once an entry exists, it is added a series of customizable formatting strings and saved to databank.
  • Tools: A couple of simple tools, namely rephrasing the last char message to a specific person, pov, and tense; and reverse prompt that has the LLM generate an analysis prompt for the user to answer.
  • Configuration: A series of options can be set, including the strings used as wrappers, prefix and suffix for analyses and their fesults; as well as the ability to "mindread" stuff LLM generates behind the scenes and correct it.
  • Help: Both a Friendly manual on rentry and a built-in mirror are available.
  • Additional scripts: The thanks I hate it scripts, /run BOTKILL eliminates all global variables, such as analysis prompts and whatnot, optionally also "releases" DB files from control. The other script is /run BOTBANISH which removes all local variables from a chat, has the option to eliminate DB files.

Also, BoT bas less visible, but equally important functionalities:

  • Translation: Although BoT UI is english-only (bad englisb at that, I admit) shen it comes to interacting with LLMs, BoT allows the user to use his/her language only.
  • Mind read/write: The results of analyses and other prompts can be viewed and edited before proceeding or cancelled to interrupt execution. Mindread and mindwrite are independent from each-other and you can choose to use none, either ine, or both.
  • Prompt management: BoT bandles prompts and keeps batteries and automation list updated.
  • Delayed generations: Disabled by default, a workaround for APIs that reject continuous generations. The delay can be set when enabling it.
  • Custom wrappers: Analysis prompts, analysis results, and guidelines are added a prefix and a suffix. These strings can be customized.

Where to get

Latest

5.21 CatboxMF

Old versions

For archeological reasons I guess:

Install instructions

  1. Open the extensions menu (three stacked cubes icon).
  2. Open "Quick replies".
  3. Select import (paper sheet with an arrow from the left), and mark the downloaded .json file.
  4. Click/tap the plus sign aside "Global quick replies" and select the BoT version you downloaded.
  5. Reload/refresh the browser page or use the command /run BOTINIT
Edit Report
Pub: 13 Aug 2024 20:01 UTC
Edit: 15 Mar 2025 14:51 UTC
Views: 12565