Memories and Lore
If you have summaries enabled in your character settings, then your character will automatically start to create "memories" once the thread/convo gets long enough. Before each reply your character will search its memories for anything that might be relevant to the reply that it's about the write.
You can see the "search queries" that were used by your character when generating a message by tapping the brain icon that appears when you hover your mouse over a message (or when tap the message on mobile).
You can type /mem
in the chat to open the memory editor for that thread/convo so that you can edit/add/remove memories.
Lore is similar to memories, except that they're not chronological. You can open the lore editor for a thread by typing /lore
. This is where you can edit lore that's specific to just that particular thread. If you want to add lore to your character (so all new threads that you create using that character will "inherit" that lore), then you can open the advanced character editor, click advanced options, and scroll down to the "lorebook URLs" input, and paste a URL to your lorebook text file. The text file should just be a list of lore entries with blank lines in between each one. You can use perchance.org/upload, or services like gist.github.com or renty.org to create hosted text files. Here's a short example lorebook text file with 3 lore entries:
Note that each lore entry should be completely self-contained. The AI sees entries in isolation, so if you have an entry like "He has a brother named Mark" then the AI won't know who "he" refers to because it won't necessarily see the entry above it. The order of lore entries does not matter at all - each one should be an independent "fact" about some aspect of the world (characters, rules, geography, relationships, etc.)
Here's an example lorebook URL for those entries: https://rentry.org/h9pb4/raw
You should think of lore like "dynamic reminders". They're like the reminder message, except that they only get loaded in when they're relevant to the current situation. This is good if you have lots of stuff that you want your character to know/remember - because you likely won't be able to fit it all in the instruction/reminder without using up a lot of precious 'context' tokens.
Important
- You can have as much lore/memories as you want - e.g. you could have thousands of entries, and once they've been added, it should be just as fast as if you had 10 entries. The character response speed should not perceptibly decrease as you add more lore/memories.
- If you make an update to your character's lorebook URLs, then existing threads won't automatically get the update. You have to type
/lore
, and then show the hidden options and click the reload button to pull in the updated lore entries.