Lorebooks
Create shareable world-info books and link them to AI characters for keyword-triggered roleplay context.
Lorebooks are standalone collections of world info you can link to AI characters. They are separate from the character’s personality and from chat personas (who you are in the chat).
How they work
Each lorebook has a name, optional description/tags, visibility, and a list of entries. An entry can be:
- Keyword-triggered — when any of its keywords appear in the recent chat, the user’s latest message, the conversation summary, pinned/auto memories, or the character greeting, its content is injected into the character’s prompt
- Constant — always included when the lorebook is linked (ignores keywords)
Tip: mark a core scenario entry as constant (or give it high priority) so the opening world state always injects. Only matching (and constant) entries are injected, up to a size budget, so large worlds do not overwhelm the model.
Private vs public
| Visibility | Who can link it to a character |
|---|---|
| Private | Only you |
| Public | Any creator can link it when creating or editing a character |
Only the owner can edit or delete a lorebook. Deleting a lorebook clears the link on characters that used it.
Create and manage
Web
/lorebooks— your lorebooks and browse public ones/lorebooks/create— create a lorebook and add entries- Characters sidebar → Lorebooks
Import SillyTavern JSON
On create or edit, use Import JSON to load:
- A SillyTavern World Info / lorebook
.jsonexport (entriesas an object map withkey/content/constant/order/disable) - A character_book array (V2/V3 spec fields:
keys,content,enabled,insertion_order,constant) - A full Tavern character card JSON that includes
data.character_book
Imported entries fill the form (up to 100). Content is capped at 1000 characters per entry. Nothing is saved until you click save.
When you create or edit a character, use the Lorebook picker to link one lorebook (or none). You can pick your own lorebooks or any public lorebook.
Mobile lorebook management is not available yet; linked lorebooks still apply in chat on all platforms once set on the character (web).
Plan limits
| Plan | Lorebooks you can create |
|---|---|
| Free | 3 |
| Basic | 10 |
| Creator / Pro | Unlimited |
Requires the Character lorebooks unlock (same progression tier as chat personas). See Subscriptions and Gamification.
Related
- AI characters — link a lorebook on create/edit
- Chat personas — your roleplay identity in chat
- Subscriptions — plan limits