r/FictionLab • • 5d ago

Activation on response generation?

So, this is something that I've been wondering about for a while. Does activation work only for the responses already existing, or does the model do some kind of... "pre-response check" to make sure it didn't generate something that contradicts the lore?

Let me try to explain myself better with an example:

Let's say you got an isekai sort of scenario where you establish that the fantasy world has two suns. You add a lore piece with this fluff, maybe even describing a 32-hour day or even a different sunlight hue.

Now, "the sun" is something the AI is gonna mention all the time for ambience. Sunlight and sky descriptions are stuff that pop very often when scenes happen outdoors. And this is something that's coming from its training data, not the scenario itself, so it's gonna happen even when the lore piece isn't activated.

That means that unless the lore piece is pinned, the AI is gonna be ignoring it all the time. It'll spontaneously mention "the sun", defaulting to Earth's.

I understand that typically here you'd solve this by adding that information to the Custom Instructions, or indeed, keep it in a pinned 'World Premise' lore piece so the AI always has this information in context (and it's gonna ignore it occasionally anyways). The problem with this is that it takes context space even when it isn't needed, and if your scenario has more of these "world-altering" facts you end up bloating your CI with loads of preventive instructions like these.

But I wonder. Wouldn't it be possible for the AI to do some sort of "validation check"? Like, at least the Ultra models do this "thinking" step. Couldn't the AI use its initial output to check for activation triggers and make sure it didn't break lore before actually posting it?

4 Upvotes

5 comments sorted by

2

u/ActuaryFabulous5881 5d ago

Hmm..... The model isn't the one managing the activation stuff. The "librarian" handles the activation stuff. The model only generates the response based on the matter it receives. So if the matter of your lore card wasn't activated and sent to the model, then the model would definitely ignore it. So there is nothing like a pre-response check. The only thing you can do is make sure to put the trigger keywords properly. Like maybe sun, sky, time, hour and anything else, according to the lore.

2

u/darki_ruiz 5d ago

Yeah but that's my point.

It doesn't matter if I put the trigger words correctly, or even if I use the proper smart activation, if the AI spontaneously chooses to include something in the response based on its training data instead of my lore.

Let's imagine I've been in a scene indoors where there has been no mention of the sky, sun, time, hour, etc, for a while.

Then I end a response on a "someone knocked on the door."

The AI could easily decide to describe the sky ambience as seen from the door when it's opened. This wasn't prompted by any trigger word or anything, it was purely an internal choice.

Another example is that the AI decides to describe a dwarf or an elf in a scene as a background character based on the general premise of a "fantasy world with many races." But what if you don't have elves nor dwarves in the lore pieces? Or if they are called something different?

Basically the librarian can only make things be in context if you or the AI have already mentioned them in the previous response. There's no way to prevent the AI from generating content that breaks the lore on its own unless you make a list of every single concept that it has to avoid breaking, which can be a massive context bloat.

2

u/ActuaryFabulous5881 5d ago

That is something that can't be helped brother. AI's tend to love to add decorations, making things cozy, preferring something "natural", so it will default back to it. The AI is trained countless times to know the description of sky, and the description of yours fights with what it knows which is embedded into its training, and ofcourse the training one wins. So it just kind of goes along with it. As you already said, if it is a bother, better to include it in the instructions, or just compress it into a small lore and add it in a pinned card. 🥲

1

u/iamdragoneye 🔥 Scenario Creator 4d ago

Yeah, a lore card only kicks in when something in the chat hits its triggers. If nobody says the right word, the AI never sees it.

For world rules that should always be true, like two suns or a 32-hour day, I'd put a short line in Custom Instructions or the Backstory instead. Those are always there, so it can't forget them the same way.

If you'd rather keep it in lore, give that card lots of everyday triggers: sun, sky, morning, noon, dusk, day, light. Then it fires almost every time time or weather comes up :D

1

u/darki_ruiz 3d ago

I know I know. I'm just sort of flying my thoughts around, not really asking anymore.

That's what I do in my more involved scenarios, but honestly, it still sucks if the concept is complex enough. I got one scenario in particular that I got to three whole pinned lore cards of only background lore and the CI.

I just wish the librarian thing worked the way I'm talking about. It honestly makes more sense to me. It'd mean there's no need for all those pinned background lore cards.