Playing AI Dungeon
Common Questions
<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/87d85d6a-25e2-4d6d-bc9d-b3ece3dc5ba1/down-arrow.svg" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/87d85d6a-25e2-4d6d-bc9d-b3ece3dc5ba1/down-arrow.svg" width="40px" /> Press here to jump down to the section about generating Story Cards →
</aside>
<aside>
<img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/01902d19-4cac-4538-b34a-8f8152f0a185/four-shapes.svg" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/01902d19-4cac-4538-b34a-8f8152f0a185/four-shapes.svg" width="40px" /> Story Cards
are notes for the AI about characters, locations, concepts, or any other elements of your story.
</aside>
The AI only consults Story Cards when they become relevant. Their relevance is determined by keywords called Triggers. Story Cards only go into context when they are activated because their Triggers occur in the input or output, and they stay in context for a variable period depending on context window size after they are activated.
You don't have to use Story Cards to enjoy AI Dungeon; they're optional. But if you're willing to take the time to add Story Cards to your Scenarios and Adventures, they can help the AI maintain consistency and add depth to your story. How you use this powerful tool is up to you, but here are some suggestions:
As you play, you might encounter something intriguing in your story: a character, a place, an idea. If you want the AI to remember everything about this element after it scrolls out of the context window, you can create a Story Card for it, manually entering what you think is important for the AI to know the next time it comes up.
The AI might mention a person or place without providing much detail. If you want to expand on this element, one way is to create a Story Card for it. You can either write the details yourself or use the Story Card Generator to help you. That way, the AI will have more to go on when writing about the newly detailed element.
Before you start playing, you might want to set up a story world filled with places, people, things, and concepts to use in your Adventure. Story Cards allow you to create this framework, ensuring the AI has access to your custom world-building.
By using Story Cards effectively, you can create more immersive and coherent narratives in which the AI can call up information at just the right time. However, while using Story Cards at a basic level is easy, mastering them takes time. Let's start with card components.
Each Story Card consists of:
When a trigger word or phrase appears in the AI's output or the player's input, the corresponding Story Card's Entry is added to the context sent to the AI. Note that only the Entry is shown to the AI, and it is prefaced by the phrase "World Lore:". This allows the AI to incorporate the information into its responses for as long as the Card stays in context. However, keep in mind that the AI does not know Story Cards exist. It does not know to look for them unless their Triggers have occurred. All it knows, when a Card is activated, is that its context now includes this information.
As mentioned, Story Cards are active for a variable number of turns after being triggered depending on the context window size, and they can be triggered by player inputs and AI outputs. However, the same AI output that first activates a given Story Card cannot use the information contained within that card, because its context does not yet include the Entry text. This means that if you have a Card for a character named "Amanda" with her name as the trigger, and the AI includes her in an output when she is not yet in context, it will not have access to the Story Card information about her when generating that output.
Amanda,your daughter
. Triggers are sensitive to spaces, so Amanda
is distinct from Amanda
.cat
occurs in catalog
, but cat
does not. However, cat
also will not trigger on cat.
.boat
will also trigger on boats
.<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/b9327047-613c-4e7a-996b-506ff3e27233/ic_round-discord.svg" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/b9327047-613c-4e7a-996b-506ff3e27233/ic_round-discord.svg" width="40px" /> Please contact @wanderingstar1 on our Discord if you have feedback about this guide or ask in the #community-help channel for additional advice.
</aside>
You can use AI to generate Story cards if you don’t want to manually write them.
When creating Story Cards, you'll find a "Generator Settings" tab at the top of the popup menu that contains different options to customize your AI-generated cards. We recommend starting in this tab so you can adjust these settings before diving into Story Card creation.
Use Beta Model: Make sure this toggle is turned on to take advantage of the new fine-tuned model powering AI generation. Story Cards created when this is off will not be able to use the following Story Summary, AI Instructions, or Story Information settings.
Speed Create Mode: Quickly create multiple Story Cards in a row by turning on this setting. When enabled, the “Finish” button changes to “Next,” so you can simultaneously save your current card and make a new blank card of the same type. If you love getting into a creative flow and writing many different types of cards at once, this is for you!
Include Story Summary: The AI will consider the information in the Story Summary plot component when generating Story Cards if this setting is toggled on. This is a great way to give the AI some details about your overarching narrative so it can create new cards in the context of your story. Note: this setting is separate from the “Story Information” field discussed below.
Log Generation in Notes: Every AI output and subsequent retry is automatically added to the Notes section of that card when this setting is on, so you can generate multiple entries and choose the best parts for your desired card.
AI Instructions: Tell the AI what kind of card you want it to create and customize the AI-generated outputs. You could include:
You can keep your instructions short or include multiple at once—it’s up to you! Play around with it and see what works best for your creation style.
Story Information: Provide additional key details about your story for the AI to consider while generating new cards. You could include:
The AI Instructions and Story Information fields are specific to the Adventure or Scenario they’re tied to, so make sure to update these settings for every story you’re creating!
After adjusting your Generator Settings, switch back to the “Details” tab to start creating Story Cards!
Here are some simple ways you could structure your Story Card settings to achieve different AI-generated outputs:
<aside> <img src="/icons/sword_gray.svg" alt="/icons/sword_gray.svg" width="40px" /> Fantasy
</aside>
<aside> <img src="/icons/rocket_gray.svg" alt="/icons/rocket_gray.svg" width="40px" /> Sci-Fi
</aside>
<aside> <img src="/icons/search_gray.svg" alt="/icons/search_gray.svg" width="40px" /> Historical Mystery
</aside>
<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/c634333b-43db-4b6a-a7be-f5f611b594cb/ic_round-discord.svg" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/6cd5a73c-9af8-4da4-9fef-c8ea3e73ad44/c634333b-43db-4b6a-a7be-f5f611b594cb/ic_round-discord.svg" width="40px" /> Remember that you can always get more information on this, or any subject, by asking on our official Discord Server.
</aside>