Keyword Book
Learn how to use the Keyword Book, which automatically pulls up saved descriptions into the conversation when specific keywords appear.
The Keyword Book is a lore (settings) dictionary for your character. When a keyword you've defined appears during a conversation, the description you linked to it is automatically injected into the prompt only at that moment. It's great for information you only need "on demand," like worldview, characters, and terminology. It's exclusive to Detail Mode, and you can create up to 50 cards per character.
Building a single card
The Keyword Book is managed card by card. Each card consists of the following fields.
| Field | Required | Description |
|---|---|---|
keyword (trigger keyword) | Required | The card fires when this keyword appears in the conversation. Register multiple with commas, up to about 50 characters per card |
description | Required | The description injected into the AI when the card fires. Up to about 400 characters |
title | Optional | Card name (up to about 30 characters). If left empty, the keyword is shown as the title |
priority | Optional | When enabled, the selection weight increases when multiple cards compete |
keyword and description must be filled in whenever a card exists. For example, if you put
sword, famous sword, weapon in the keyword and write the sword's origin in the description, that setting
is only passed to the AI when the sword comes up in conversation.
How does it get reflected in the conversation?
The Keyword Book compares relevance against recent messages every turn to decide whether to fire. If five or fewer cards fire, all of them are injected; if more, the highest-scoring cards are picked first and injected into the system prompt. Cards with priority enabled receive extra weight in this selection.
Thanks to this approach, no matter how much settings content you have, it isn't all pushed into every conversation—only the settings relevant to the current conversation are selected and used, so the prompt doesn't get unnecessarily long.
Scoping by scenario
For each card, you can specify an applicable opening scenario. If you choose a specific scenario (opening setting), the card only fires in conversations that started from that scenario. If you choose nothing, it applies commonly to all scenarios. This is useful when each scenario has a different worldview.
The Keyword Book only applies to newly started chat rooms. Keyword Book entries you add or edit later won't be reflected in rooms already in progress, so always test in a new room. It's also worth remembering that, unlike other tabs, the Keyword Book is saved separately.