Lorebook
Overview!
Think of a Lorebook as your characterβs world memory.
Your characterβs description (persona) can only hold a limited information β just the basics about who they are and what they do. A Lorebook is where you can store much more β details about the world they live in, other characters, events, items, or special rules that shape your story.
Instead of cramming everything into the characterβs profile, you can keep all that extra information safely inside a Lorebook.
Then, when you chat, the system automatically brings up only the relevant parts at the right time.So your character always remembers whatβs important β without getting confused or running out of space.
π§© How it Works
A Lorebook is made up of entries (think of them like statements of information).
Each entry has two main parts:
Keywords β triggers that tell the system to load the entryβs content into the chat context.
Content β the facts or story that should be added to chat context when those keywords appear.

When any of the keywords show up in the last 4 messages (both {user} and {char}), that entryβs content is added to the chatβs context and used to generate a new response.
It stays active for about 2 turns (user message and the AIβs next one). If the keyword keeps coming up, it stays active longer.
The system limits how much lore can load at once so that the whole context memory is not consumed by the lore β about 20% of the total context memory.
Around 740 tokens for Free users.
Around 1600 tokens for True Supporters.
Around 3,080 tokens for Iβm All In users.
βοΈ Creating a Lorebook
Go to the main menu and click Create β Lorebook.
Youβll see a new Lorebook page. Fill out these parts:
Name: What your Lorebook is called (for you to recognize it).
Description: A short summary (this doesnβt affect chat).
Cover Image: Pick or generate an image that fits your world.
Tags: Add relevant tags.

Click Add Entry to start building your Lorebook.
You can have up to 5,000 entries in one Lorebook.
(coming soon) You'll also be able to import Lorebooks from other platforms. Just upload them in .JSON format β theyβll appear in the editor and can be edited right away.
π Adding Entries
Each entry is one piece of information β such as a character, place, event, or rule.
Hereβs what youβll fill in:
Name: A label for your entry.
Keywords:
Add words or phrases that will βwake upβ this entry.
Type one, then press Enter to save it.
You can add several keywords for one entry.
Keep them specific β like names or key terms.
If two entries share a keyword, both will be added when that word appears in chat.
Content:
Write the info that should be added to context.
Keep it clear and simple β 2β5 sentences are usually perfect.
Maximum: 1,000 characters per entry.
Example:

If You or the Character mention βcafΓ©β in chat, that bit of information will be added to the chat context, generating a response based on that info.
Keyword Matching
Prefix and Suffix
You can use a * symbol (called a wildcard) to match parts of a word.
This helps trigger lore when the keyword appears as part of a bigger word.
Examples:
*bookβ will match βstorybook,β βnotebook,β βlogbookβhome*β will match βhomeland,β βhomework,β βhomemadeβ
Recursive Entries
Lore entries canβt trigger each other. That means if one entry mentions another keyword, it wonβt cause more lore to load. Only the actual chat messages are checked for keyword matches β not the content inside other entries.
Multiple Words
Keywords can include more than one word, but the full phrase has to match exactly.
Example:
The keyword
coffee shopwill only match when coffee shop appears together in chat β not if the words are separated.
Shared Keywords
If two or more entries share the same keyword, theyβll all be added to the context when that keyword appears in chat.
Using {{user}} and {{char}}
You can also use {{user}} and {{char}} as keywords.
These automatically match whenever the userβs name or the characterβs name is mentioned in chat.
Itβs a handy way to add background information when someone refers to the user or the character directly.
π Attaching a Lorebook to a Character
Open your Character Editor.
Scroll to the Advanced section.
Under Lorebook, click Attach Lorebook.
Pick one from your list and hit Save.
Once attached:
The Lorebook connects to that characterβs all chats.
You can Edit or Remove it anytime.
Only one Lorebook can be attached to a character.
Any changes you make to the Lorebook apply to existing chats as well β no need to reattach.

π‘ Tips for Better Results
β One topic per entry. Each entry should focus on one thing β one character, place, rule, or event.
β Be specific with keywords. Use specific names or titles β not general words like βworldβ or βmagic.β
β Keep content short and factual. Donβt write full stories in one entry β just whatβs needed for the AI to stay accurate.
βFAQ
Q: Can I use more than one Lorebook per character? A: Not right now β one per character.
Q: Can I add Lorebooks to public characters? A: No, right now Lorebooks are only supported for private characters
Q: Can I share my Lorebook with others? A: Not yet. Public and shared Lorebooks are planned for a future update.
Last updated
Was this helpful?

