Skip to main content

How to Set Up a Lorebook: Keywords, Entry Examples and Troubleshooting on AI Fengyue

Category
Features explained
Published
Updated
Reading time
8 min
Cover image for How to Set Up a Lorebook: Keywords, Entry Examples and Troubleshooting on AI Fengyue

Key takeaway

An AI Fengyue lorebook is a keyword-triggered library of background notes: when a keyword appears in the conversation, the matching entry is provided to the AI. The keys to a good lorebook are precise keywords and concise entries; if it does not work, first check whether the keyword actually appeared in the conversation.

Write long stories on AI Fengyue and sooner or later you hit a problem: the world keeps growing, it no longer fits in the character card, and the AI cannot remember it all. The lorebook is designed for exactly this. It works like World Info in SillyTavern: you split background knowledge into individual entries, each with keywords, and an entry is only used when the conversation mentions something related. AI Fengyue also recently launched lorebook sharing and import/export to make settings reusable.

How a lorebook works

Think of a lorebook as a "reference book opened on demand". Before the AI generates each reply, the system checks whether any entry's keywords appear in the recent conversation; if so, that entry's content is provided to the AI as reference. Entries that are not triggered take up no context.

This also means a lorebook is not permanent memory. It only takes effect when keywords appear and is also limited by context length.

Steps to set up a lorebook

  1. List the proper nouns that keep coming up in your story: places, factions, items, key characters.
  2. Create an entry for each with 1–3 concise sentences.
  3. Set keywords for each entry, including common aliases, such as "Star Harbor, Cloud City".
  4. Save it, mention a keyword in chat and see whether the AI uses the setting correctly.
  5. Adjust keywords and content based on the results, and use export to back up when needed.

Entry examples

Here is a set of lorebook entries you can use as a reference:

AI Fengyue lorebook entry examples
KeywordsEntry content
Star Harbor, Cloud CityStar Harbor is a trading city floating above the clouds, held up by giant floating stones; residents travel by airship.
Lamp KeeperLamp Keeper is Star Harbor's oldest profession, maintaining the navigation lighthouses on the city's edge, and is widely respected.
Silver Feather BadgeThe Silver Feather Badge is an airship pilot's license, worn only by those who complete three years of training.

Troubleshooting a lorebook that does not take effect

If the AI is not using your lorebook settings, check the following in order:

  • Did the keyword actually appear in the recent conversation? Writing only "that city" will not trigger the keyword "Star Harbor".
  • Is there a typo in the keyword, or does it differ from how it is written in chat (for example full-width vs. half-width characters)?
  • Has the lorebook been saved and linked to the current character or conversation?
  • Is the entry too long? Very long content may be truncated, so trim it to the key information.
  • Has the conversation become very long? When context space is tight, start a new conversation with a plot recap.

Common misconceptions

Myth 1: "Put every setting in one big entry." A large entry takes up lots of context once triggered; splitting it into small entries is more efficient.

Myth 2: "A lorebook makes the AI remember the plot forever." A lorebook is an on-demand reminder, not permanent memory.

Myth 3: "More keywords are better." Overly broad keywords (such as "the" or "person") make entries trigger constantly and waste context.

Safety reminder

Safety reminder: never enter real ID numbers, home addresses, bank cards or payment passwords in chats. Only access the platform via fyue.app and never download or install unofficial "cracked" or "no-login" versions. AI-generated content can be wrong — do not treat it as professional advice.

References

New here? Start with the AI Fengyue beginner guide; for more questions see the FAQ.

Done reading? Try it on AI Fengyue

Open the web app and apply these tips to your own characters.