What is World Info?

What is World Info?

How to use World Info

The AI can only process about 8000 characters of text at a time, so while a story quickly becomes much larger than that, the AI is only given the last few pages: it doesn’t have access to anything written before that. To compensate, the interface adds some extra text: Memory is added to the beginning of the text, along with the World Info, while the Author’s Note is placed a few sentences before the end.

Along with these other fields, World Info is a tool to add information that isn’t in those last few pages, and is generally used to give the AI details about..

  • Recurring Characters
  • Visited Places
  • Past Events

...or anything else that you want to bring up again, but isn’t common enough to be in the Memory.

Each World Info entry has at least one “Key”, which is a bit of text (usually a word or two) that you want to trigger the entry. When the “Key” shows up in the last few actions, the interface will automatically add the corresponding World Info entry to what it sends to the AI. The AI will see this text before the rest of the current story and be able to use it as context when the concepts come up, making word-associations and orienting itself to the “world” you’re telling it about.

Note: The AI won’t always reference or even correctly repeat information from the World Info, but whatever it generates will be influenced by it: a good World Info entry (or Memory) can reliably help the AI write a more focused story.

World Info Entries can be up to 4000 characters, but it’s recommended you keep them as short and concise as possible, as each triggered entry will take up space that would otherwise be used for the story: every word you add to a World Info entry will take away from how far back the AI can see and how many other World Info entries can be active when its key is being triggered.  If your World Info entries (and your Memory) are too long, details that might be immediately relevant could be pushed out of the Current Context.

World Info is meant to be used alongside Memory, which can be used to add details that the AI will always see about the story in general, and the Author’s Note, which can be used to add small amounts of detail near the end of the context.

World Info can be accessed from a button in the Right Sidebar, under the “Story” tab, below the Memory and the Author’s Note in the Prompt Settings.

image

This button will take you to a list of World Info entries, with a set of tabs at the top.  The “Active” Tab shows you the entries being used in your current adventure, while the other tabs let you access ones from other stories.

image

To add a new World Info entry, click “Create New World Info”, and it will give you a form to fill out.  This can be completed in one of two ways...

image

Manual Entry

The most common method is to put in a set of Keys under the “Name”, then put the block of text to be fed to the AI under “Description”.

Under “Type”, type a category for the entry: if you use the name of one of the tabs at the top, it will automatically be sorted under them later, or you can use one of your own to have it sorted under “Other”.

Once you have the entry you want, click “Manual Entry” to add this to your World Info.

AI Generated

There is also a method to have the AI generate a World Info entry for you.  Fill out everything but the “Description” field with information you want the AI to consider when writing its entry, then click “Generate”, and the AI will write and add an entry for you.  Note that the less you type in, the more the AI will make things up on its own, so include any details you need it to carry, but also consider using this to generate random content for your adventure.

NOTE: At this time, AI Generation is not working reliably: it can generate some very strange things, or just rehash whatever you said in the Background.  Feel free to play around with it though, as you might still find it interesting.

You can use the Remove button to remove an entry from your story, and it will still be saved in your tabs.

You can also click Delete to permanently delete it, but you will have to rewrite it from scratch if you ever want to use it again.

image

You can also edit existing World Info entries by clicking the top of the entry, causing it to open as a dropdown.

image

Here, you can change the Keys, Type, Entry text, and add Tags to help you search them later. You can also add a “Description” and “Attributes”, which the AI can’t see, but can be used for your own reference. Note that, in a Scenario or World, these may be used by scripting.

When you’re done, click “Save” to save your changes, or “Save Copy” to save it as a new entry and remove the old one from your current adventure.

image

To add a World Info entry from a previous adventure, use the tabs at the top to select the category it’s in, scroll or search to find the one you want, and click the “Add” button in the top corner. It will be automatically added to your Active entries for this Adventure.

image

Tips for using World Info

  • Entries need to be as dense and concise as possible. Try to fit as many relevant details as you can in as little space as you can: aim to keep it under 500 characters, at most.
  • The AI uses word-association heavily this early in the context, and ignores negatives. Instead of saying that something is “not” the case, say what it is instead.
    • Eg, saying “The Dog can’t talk” will associate “Dog” and “Talk”, while “The Dog only barks” will strongly associate “Dog” and “Bark”, which will lower the probability the AI will have the dog “Talk” in future actions.
  • To keep the word-association strong, be sure to state the subject at least twice within an entry, just to make sure the AI knows what you’re referring to. If you need to bring up a different subject in relation to this one, do that at the end to avoid confusion, possibly on a separate line.
    • Example: an entry with the key “ Bob”
    • “Bob is a big strong man. Bob is the local blacksmith: he is very skilled.Bob is friends with Pat. Bob is dating Sue.”
  • As with Memory, focus on story-relevant and action-relevant details. Physical descriptions are only relevant if they’re going to come up, like a character being strong or having a specific item. Note that the AI is good with specific aspects of what things are, like species, but not good with vague aesthetic traits, like colors.
  • Take steps to prevent keys from being brought up in error. You can add a space at the beginning of a key to prevent it from being brought up as part of a different word which contains the same letters after other letters, and you can make multiple keys with various punctuation (“!”, “.”, “‘”) and suffixes (like “s” for plural).
    • Note: because World Info keys are separated by commas, you cannot have a comma in a World Info key at this time.
    • Example:
    • an entry with the key “Bob” will be brought up by “Jimbob” and “bobbed”.
    • An entry with the key “ Bob”, with the space, will never be brought up by “Jimbob”.
    • An entry with the keys “ Bob , Bob., Bob!, Bob?, Bob’” will only be brought up when “Bob” is on its own.
  • When in doubt, you can use “inspect input” to see what the AI is seeing, and determine if your World Info is showing up how you want it.

Remember that you can always find more information on this, or any subject, by asking on our official Discord Server, or reading the Wiki.

icon
image

© Latitude 2022