Playing AI Dungeon
Using the Interface
What is Memory?
The AI is only given the most recent part of the story, often referred to as “Current Context”. The Memory text will be added to the beginning of this, allowing you to give the AI details before it sees the current part of the story. Memory is typically used to explain the setting, your character, and what is happening in the overarching story, or anything else you want it to be able to reference that isn’t in the current context. The memory may contain up to 4000 characters, but is best kept below 1000 for best results, as memory takes up space that could be used for current context.
What is World Info?
The AI is only given the most recent part of the story, and doesn’t have access to details established before that.
World Info is a set of text-entries which are only added when some specific text, called a “Key”, appears in the last few sentences of the story. This allows you to have the interface automatically give the AI details about terms before it processes them in the current part of the story.
World Info is typically used to explain details about things which aren’t always relevant but may come up, like recurring characters, visited places, past events, or anything else you want it to be able to reference that isn’t in the current context.
World Info entries may contain up to 4000 characters, but are best kept as short as possible (preferably below 500) for best results, as World Info entries take up space that could be used for Current-Context or other World Info entries, and there can be several active at a time, depending on how many keys have been triggered and how much room is left for them.
What is the Author’s Note?
The AI is only given the most recent part of the story, along with Memory and World Info, and doesn’t explicitly know the genre or plot outside of what’s been specified there. The text of the Author’s Note will be added a few sentences before the current end of the story, prepended with
“Author’s Note: ” and surrounded by square brackets (‘[‘ and ‘]’). This is intended for you to give the AI hints, out of context, on the desired genre and general plot, or anything else you feel would help. This is different from anything else you write, as it is out-of-character and can be much more technical, saying something like, “This is a [genre] story about [plot].” or “The rest of this story is [style].”
The Author’s Note may only contain up to 300 characters, and anything you write here will push the Context above where it is inserted further from the AI’s focus, so it’s important to be concise and sparing with details.
What are Advanced Settings?
The Advanced Settings are controls which users who have paid for AI Dungeon, either by Subscription or Steam Purchase, can use to change the way the AI runs and the kind of output it gives.
Raw Model Output allows the output to end with incomplete phrases, as opposed to trimming them off.
Response Length is the amount of text the AI will output.
Temperature, Top-P, Top-K, and Repetition Penalty change variables within the calculations the AI uses to randomly select the next word.
Memory Length controls the maximum amount of text which can be sent to the AI, and should generally be left as high as it goes.
These can have very unpredictable results, so it’s recommended that you play around with them a while to see what they do, and/or come on the Discord to talk to other users about them.
How do I enable Beta features?
What does beta testing do?
By enabling beta testing in your Settings, you can check out the latest AI Dungeon features in development. As a beta tester, you can experiment with features we plan to launch and review our latest improvements to AI Dungeon.
How do I enable beta testing on my account?
To enable beta testing, go to the sidebar menu -> Settings -> Enable Beta Testing Features in your Game tab.
Where can I share my beta testing feedback?
You can share any of your feedback on any of our official platforms…
Our Feedback Boards are designed so that users can directly share relevant details and upvote issues that are affecting their gameplay. You can contribute by checking if anyone had already posted about a bug/request identical to yours, or start your own post if you can't find any resembling yours.
To report gameplay bugs, go to bugs.aidungeon.io.
To share feature requests, check out features.aidungeon.io.
You can also ping us in any relevant channels on Discord: aidungeon.io/discord
#AID-General is the best place to share and discuss gameplay experiences.
#Community-Help is for getting help and advice from experienced users.
#AID-Feedback is the channel where you can tell us what you think!
Our Support Team is available to help with any account-specific issues. You can email firstname.lastname@example.org and include your username and email address along with relevant details to your issue.
Where did my Adventure / Scenario / World go?
You can find content that you created in AI Dungeon in “My Stuff”, on the Left Sidebar.
Why does the AI forget or mix things up?
The AI can only look back so far in your adventure’s history (called context when it’s passed into the AI model). The context limit is 1024 tokens for Dragon, Wyvern, and Griffin for free players. This is around a few thousand characters. For players with a membership, Griffin context length is 2048.
When the AI has seen information like a name it is more likely to use that name for other contexts later. For example, if it sees the name John, it’s more likely to use that name for other characters.
The best way to ensure that the AI keeps track of details you need it to remember is by using Memory in the settings sidebar and entering important information like details about your protagonist and immediate world events, as this information is guaranteed to remain in the AI’s memory. However, this is not guaranteed to work 100% of the time and unfortunately this is mostly a limitation of the models we use for AI Dungeon. In cases where the AI is failing to recall important details about your characters, your best bet is to retry and hope it catches on, edit your memory information to be more specific or simply use edit/alter to correct its mistakes.
How can I avoid/fix repetition in my story?
A common failure mode of the AI is to start repeating itself. It might say the same thing over and over (“The land is empty. The land is empty…”), or with minor variations (“You can’t eat. You can’t sleep. You can’t move….”), or by repeating what you type (“You: Go in the house. AID: You go in the house. You: look around. AID: You look around.”) When this happens, it can be very hard to break out of by continuing to type new actions. Instead, try the following:
- Click Undo repeatedly until you are BEFORE the very first instance of repetition.
- Try typing something different than you did last time. Be expansive, describing what you do in more detail and with more complex language than you usually would. This will cause the AI to also break out of its rut and start writing more complex things.
- As you go on, make sure you aren’t being too repetitive in what you type. Vary your sentence structure, your sentence length, and your word usage. This will encourage the AI to do the same.
If there is still an issue, here are some other things to try:
- Make sure there is nothing causing the repetition in your Memory or Author’s Note. This is uncommon, but if these are too repetitive, or if it is repeating phrases from these, it can be an easy thing to overlook.
- Advanced Settings (We don’t recommend changing these)
Temperature and Top P are how likely the AI is to pick something other than the most obvious choice for the next word. If you increase the randomness, the AI will act more wacky. A little wackiness feels creative, but too much can seem silly and meaningless. The AI with higher randomness is less likely to repeat itself.
Frequency penalty and Presence penalty are advanced settings that cause the AI to try to avoid repeating any words. The trouble with turning these up too high is that if your story is about a dog, it will try to avoid saying “dog” more than once. Once it’s said “companion” and “hound” and “animal” it will pretty soon have used up all the euphemisms and will stop trying to talk about dogs at all.
What triggers the AI filter?
The only intended trigger for the AI filter is content suggesting, promoting, or glorifying sexual exploitation of children.
You can learn more about the filter in Our Shift to the Walls Approach.
For all questions about Premium Tiers and/or Subscription Plans, see the Membership & Benefits page.
On this page
- Advanced Tips
- Using the Interface
- What is Memory?
- What is World Info?
- What is the Author’s Note?
- What are Advanced Settings?
- How do I enable Beta features?
- Where did my Adventure / Scenario / World go?
- Why does the AI forget or mix things up?
- How can I avoid/fix repetition in my story?
- What triggers the AI filter?
© Latitude 2023