r/FictionLab • u/darki_ruiz • 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?
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.
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