AI RPG Scout
Guide / NovelAI

How to create a NovelAI Lorebook entry and check that it worked

Put the fact in Entry Text, add an activation key that appears in your story, then generate a reply and inspect Last Context. That last check tells you whether the model received the entry, even if the reply barely mentions it.

Write the fact in Entry Text and use the title to identify it

Open the story’s Lorebook and create an entry. Give it a title you will recognize in a list. Then write the information the model needs in Entry Text. NovelAI uses the title to help you organize entries. A character’s name in the title alone does not tell the model who the description is about.

For a first entry, one sentence is enough. An entry titled “Station hours” might read “North Station closes at nine each evening.” The name and the constraint both appear in the text. Once inclusion works, you can add other information you expect to need at the same time. Keeping the first test short also makes it easy to recognize the full entry in the context viewer.

Choose an activation key that occurs naturally in the manuscript

Add North Station as an activation key. Enable the entry and leave Always On off for this first check. Write a line in the manuscript that mentions the station by name. Omit the closing time from the line. If you put the same information into both the prompt and the entry, the eventual reply cannot tell you which source supplied it.

Ordinary keys ignore case. Add a shorter alias if it is the name your characters actually use. A broad key such as “station” might also fire at other stations, wasting space or supplying the wrong opening hours. Leave advanced matching and placement settings alone until you have seen a simple name match work. The controls available can also differ by model.

Last Context shows whether the previous generation received the entry

Generate once, then open the Advanced settings and select Last Context. Find the entry and inspect the included text. Check the activation key and the reason shown for inclusion. If it is missing, the option to show non-activated entries can help you distinguish an entry that never triggered from one that reached the context builder.

Last Context and Current Context answer different questions. Last Context describes the generation you are investigating. Current Context shows what the setup looks like now. Changing a key after a disappointing reply can make the current setup look perfect while telling you little about the earlier failure. Generate again after the edit, then inspect that new reply’s context.

Fix the trigger, the space allowance or the prose according to what the viewer shows

Diagnose a Lorebook entry from Last Context
What the viewer showsWhat to change
The entry never activatedCheck Enabled, the key and its appearance in recent text.
The entry activated but the important line is absentShorten the entry or reconsider how much material is competing for space.
The full entry was includedCheck for contradictory prose. Edit or retry the continuation.
The correction appears only in Current ContextGenerate again and inspect the new Last Context.

An inactive entry calls for a closer look at its spelling, aliases, enabled state and the recent text. An entry that activated but lost its important line needs a shorter body or more room in context. Start by cutting details unrelated to the current scene. Reserving extra room for every entry eventually leaves less room for the story itself.

If the entire correct fact arrived, adding more keys cannot repair the reply. Look for an older sentence that contradicts the entry, then edit the reply or retry the continuation. A successful setup means the model received the intended information. The quality of the sentence it wrote is a second judgment. Keeping those checks separate saves a surprising amount of tinkering.

Sources & further reading

Keep reading

AI Dungeon vs NovelAI: which is better for playing, editing and sharing?

Choose AI Dungeon to start a playable scenario or bring friends into a shared adventure. Choose NovelAI for solo roleplay that you want to revise and export as fiction. Both let you direct the narrator. The difference is what you can do with the story between turns and once the session ends.

AI Dungeon /

NovelAI exports can share more of a draft than the page on screen

The file you choose determines what another person gets. A NovelAI text export contains the visible manuscript. A native story file can also contain discarded branches and retries. That difference matters whenever an adventure leaves the account where it was written.

NovelAI /

NovelAI review: excellent tools for revising a story, few rules for playing one

NovelAI is a strong choice for solo roleplayers who also want to edit the finished story. You can revise any passage, recover alternate versions and inspect the notes behind a reply. If you want an independent referee to settle combat or keep characters accountable, its writing tools leave that job to you.

NovelAI /