Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] More Depth Categories for Lorebook Entries #2189

Open
GentlemanOfCulture opened this issue May 6, 2024 · 2 comments
Open
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change

Comments

@GentlemanOfCulture
Copy link

GentlemanOfCulture commented May 6, 2024

Have you searched for similar requests?

Yes

Is your feature request related to a problem? If so, please describe.

At present, we can choose the specific depth of lorebook entries, but we cannot rapidly change the depth of most lorebook entries. This becomes a problem when switching models, because some models are good at reading information at higher depths, while others require information at much lower depths.

For example, lets say that I have a page full of lorebook entries at various depths. I want to subtract 2 from the depth of all of my lorebook entries as I switch models. For some of those lorebook entries, I could just tether them to the author's note and change the depth of the author's note. However, my lorebook entries span a wide variety of depths. Important information is set to a lower depth, while more general information is set to a higher depth.

So, if I tether the author's note to 'critically important information', then I'll still need to manually change the depth of all lorebook entries that are not 'critically important information'. This requires going through each entry one by one, and can be a very time consuming process.

Describe the solution you'd like

I propose the creation of new depth categories. That way, instead of setting the depth of each individual entry, I could instead tether the depth of each lorebook entry to a global category, similar to how many use the author's note category.

A few category suggestions:

  1. Directive information
  2. Priority information
  3. Important Information
  4. Scenario Information
  5. General Information

Using these examples, I could set directive information to (D1), priority information to (D2), important information to (D5), scenario information to (D7), and general information to (D10).

Using this system I could rapidly change the depth of all relevant entries by changing the depth of a single global variable. Ex, if a model doesn't seem to be reading my 'general information' very well, then I could set the depth to (D8) instead of (D10). If my priority information seems to be stifling my model, I could change it to (D3) instead of (D2).

Describe alternatives you've considered

No response

Additional context

The primary reason I gave for this feature was for model changing, but I think this feature would be useful for people who just want to mess around and find the ideal depth for their lorebook entries as well. Ex, on a whim I could lower the depth of everything to see how that changes the roleplay.

Priority

Medium (Would be very useful)

Are you willing to test this on staging/unstable branch if this is implemented?

Maybe

@GentlemanOfCulture GentlemanOfCulture added the 🦄 Feature Request [ISSUE] Suggestion for new feature, update or change label May 6, 2024
@Wolfsblvt
Copy link
Contributor

I am planning to tackle this feature soon. You will be able to choose "Depth Anchors" that you can define as many as you want and name how you want. Each anchor will have a name, an attached role and depth setting. And the WI can connect to an anchor.
If you have a few dozen WI connected to an anchor for example called "Directive Information" at depth 5 and then change that to depth 3, next generation all WI with that anchor will be inserted together at depth 3 instead of 5.

Would that give fulfill what you need?

@GentlemanOfCulture
Copy link
Author

Yes, that is exactly what I am asking for.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change
Projects
None yet
Development

No branches or pull requests

2 participants