γ€”Basic Lorebook Guide〕


How? Why? When? Where? Time for the lorebooks types. (πŸ“˜πŸ“™πŸ“•πŸ“—)


(A) When To Use Lorebook

(1) When to waste time and tokens setting it up

β€’ When the information it retains has no need to be 24/7 in context, less tokens.

β€’ To leave NPCs, Side Characters (parents, friends, multibots) off-scene, extra backstory, extra pieces of lore, instructions, etc.

β€’ To use a Status Panel, NPC generators, descriptions of an location (like Castles, Rooms, Landscape, Garden, Cities, Villages), Commands, Regex or Scripts, etc.

β€’ To trigger summarization commands or save previous summarized memory - e.g. Trigger Word: bathroom - Lorebook Activated: "Previous Context: they were in bathroom yesterday, where {{char}] found that one mutant spider mentioned, it was living in a hole in the ceiling."

β€’ Honestly, the practice above is for hyper skills. We would get really messy with ideas and overusing it for saving tokens.

β€’ To explain what X or Y is when the model doesn't know it, or you invented it, like a special sword, Migi alien, how time traveling works, how a vehicle works/can be turned on, etc.

β€’ To describe appearance or behavior of an newly discovered entity like an alien egg, an specie, an infection, an disease, etc.

β€’ To explain or guide the AI on using a super complex P-Lore (power, jutsu, skill, etc). I've seen this practice before, very interesting for Naruto, DBZ, Jujutso type characters with shitton amount of specific powers that would eat thousand tokens. Such as the description of what an Kamehameha (DBZ), or Dragon Boost (HxD) is and how it works/what it does.


(B) When Not To Use Lorebook

(2) When NOT to waste time and tokens with it

β€’ I don't recommend leaving sexual info in a lorebook where only keywords trigger it. They matter a fucking lot for the accuracy of impersonation - speaking of which... In case you don't care/wants accurate psychology at all, why you're reading the "Pandora Psychologically Accurate Sentience Simulation Guide" instead of any other copy paste template guide?

β€’ When you got too many lorebooks/trigger words already. Depending on the order of inputs send to the model in its API, the odds of a lorebook for "kinks", being activated under trigger word "sex", or "flirting" of doing exactly what we're trying so hard to avoid - pre-defined patterns - it guaranteed. Same would apply to "bathroom" practice, given it would read that and think we should change the topic to talk about the spider or that scene, every time it is triggered.


Extras

Insertion Order: The priority of a lorebook when many lorebooks are active at once - the lower the number the most likely it will be cut of context log. Usefull for commands that must be always put on top of everything else.

Always Active: No idea what purpose it serve, keeps the lorebook active at all times, like a secondary document pairing with {{char}}'s description/card.

Activation Keys: Keyword to trigger the activation of the lorebook in context, making it part of the context window.

Selective: Secondary keyword to trigger the activation when two keywords or more are input at the same time, otherwise it doesn't activate.

Regex Use: Replacing keywords and text with commands and code, like html, css, etc fancy stuff like custom interfaces, box, etc.

β€’ Regex is good when you want it to show images or play a sound or something else instead of keeping the command always active. It's a very hassle work whatsoever and you might opt to just go for the usual set up of your Chat UI. I will make separate guide for these if I find a easy way that won't take extra 5 hours of adjusting hassle settings.


πš‹πš’ π™Άπš˜πšπš‘ π™ΈπšœπšŠπš‹πšŽπš•πš•πšŽ.

"Did I made it clear this time or we gonna have to explain it all over again?" ISA


βž™ 🧒 Previous Page
βž™ πŸ”“ Next Page!
βž™ πŸ“„ Main Menu!

Edit

Pub: 23 Jan 2024 19:07 UTC

Edit: 06 Dec 2025 21:26 UTC

Views: 322