For the complete documentation index, see llms.txt. This page is also available as Markdown.

Lorebook, Memory and Persona explained

Know when to use Persona, Memory, character instructions or a Lorebook, and avoid contradictory settings.

Read this guide in: English · 繁體中文 · 日本語 · Español · 한국어

Use Persona for who you are, Memory for what happened in a conversation, and a Lorebook for reusable knowledge about a fictional setting. Character instructions define how the character behaves throughout the experience.

Information
Best starting place
Example

Your identity

Persona

Rowan is an adult mapmaker visiting the archive.

A conversation event

Memory

Mira lent Rowan a brass key until sunrise.

A place, person or setting fact

Lorebook entry

The Lantern Archive keeps coastal charts in its west room.

A rule that should always guide the character

Character or Scene instructions

Mira asks for evidence before accepting a rumor.

Build one coherent setup

  1. Write the character's essential identity and behavior first. The experience should make sense before any optional lore is retrieved.

  2. Give your Persona only the information that belongs to the user's identity.

  3. Break setting information into short Lorebook entries, each about one subject.

  4. Choose specific trigger words that naturally occur when that subject matters.

  5. After chatting, preserve important events in that conversation's Memory rather than changing the world's history to fit one playthrough.

For example, “the brass key opens the west room” is a setting fact. “Rowan currently carries the brass key” is a conversation fact. Keeping them separate allows another conversation to start before the key has been borrowed.

Why not put everything in one field?

Long, repetitive instructions can compete for context and make conflicts harder to spot. A Lorebook entry may be selected only when relevant; it is not a substitute for a permanent behavior rule. Memory summarizes a particular conversation and is not a guarantee that the AI has every past message available.

Account membership and Gold are separate

Membership belongs to your account. Gold is a capability associated with a work. A membership prompt and a Gold requirement answer different questions; upgrading one does not by itself prove the other is satisfied. Check the attachment and entitlement notices shown for the work you are editing.

Follow Create, attach and troubleshoot a Lorebook to turn the archive example into a small Lorebook, attach it and test it.

Create and switch your Persona · Use Memory in your conversations · Create a character · Create, attach and troubleshoot a Lorebook · Gold Cards explained

Continue in Rochat (external)

Open your creations


Previous: Publish and manage content visibility · Next: Create, attach and troubleshoot a Lorebook

Last updated