Skip to content

Allows setting alternate greetings that are specific to group chats.

License

Notifications You must be signed in to change notification settings

SillyTavern/Extension-GroupGreetings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extension-GroupGreetings

About

This extension allows setting alternate greetings that are specific to group chats.

How to use

  1. Open an existing character or a character creation form.
  2. Find a new button next to the "Alt. Greetings" option in the "First message" block.
  3. Click the button to bring up the editor. Add greetings to your liking (they save automatically).
  4. Optionally, set a selection mode: random or user pick.
  5. Start a new group chat with a character you've added greetings for.
  6. Depending on the chosen mode, one of the added group greetings will be picked by you or randomly.

Tip

Group greetings are saved to the character card. They will be visible to other people if they have this extension installed. When both Spec v3 and legacy fields are present, Spec v3 field takes precedence.

Prerequisites

SillyTavern - latest staging version preferred, or stable release >= 1.11.6.

This won't work on any older versions.

Nerd zone 🤓

React? In MY SillyTavern?

Yes.

How to build

  1. Clone the repo
  2. Run npm install
  3. Run npm run build
  4. Minimized plugin file will be in the /dist folder

Data model

{
    "data": {
        // Spec v3 field
        // https://github.com/kwaroran/character-card-spec-v3/blob/main/SPEC_V3.md#group_only_greetings
        "group_only_greetings": [
            "your",
            "strings",
            "here"
        ],
        "extensions": {
            // Legacy field, kept for backward compatibility
            "group_greetings": [
                "your",
                "strings",
                "here"
            ],
            "group_greetings_mode": 0
        }
    }
}

const ACTIVATION_MODE = {
    RANDOM: 0,
    PICK: 1,
};

License

AGPLv3

About

Allows setting alternate greetings that are specific to group chats.

Topics

Resources

License

Stars

Watchers

Forks