AI Dungeon

AI Dungeon

Not enough ratings
Dracaerys' guide to AI Dungeon!
By Night Druid
This guide aims to help aspiring writers create decent stories using AI Dungeon, whether they be original works or fan fiction.
This guide contains suggestions and tips for "Prompt", "Memory" and "World Information" formats that tend to give better results when using any of the AI models.

I hope that this guide will help you understand AI Dungeons underlying systems better, and by extension, help you create consistent outputs and stories that are worth publishing to the AI Dungeon platform for people to see.

Please keep in mind that the guide is a work in progress.
I will update the guide when I have time to do so.

Note #1:
I recently learned that other communities have found this guide helpful, such as KoboldAI. I'm considering writing some extra tips for their models to make a more "universal" guide, though most of that section wouldn't apply to Ai Dungeon.
Please let me know if you guys would be interested in the guide covering similar Ai models and their formatting.

This guide currently does not cover:
- Other Prompt formatting examples (Coming soon, once I write them.)
- Author's Note (Coming soon, once I write a good example.)
   
Award
Favorite
Favorited
Unfavorite
AI models overview
The AI Models of AI Dungeon are complex, literature based AI's that are trained in a variety of styles. They are mostly trained to handle a "Choose your own adventure" writing style, though I personally find that the AI's give better results when writing in a "Novella" style.

However, formatting and grammar is only one side of the battle to co-writing good stories with any AI model. If you are illiterate in terms of punctuation, spelling and grammar, or story structure, the AI will struggle to understand your story on a fundamental level. It relies on your writing style to format it's responses appropriately, and some AI models struggle to handle bad spelling or grammar when replicating your style. When writing your story, you should consider the AI as a co-writer of sorts. In fact, you should consider the AI to be a reactionary co-writer, that is suggesting where the story could go.

Since the AI's are reactionary in nature, it is up to you to keep the story from derailing. A good story stays on track, and you should aim to do the same. If the AI tries to derail the story by adding a new plot element that is undesirable, you should either edit the response to remove the plot element, or adjust your story to integrate it into the story naturally. Griffin in particular struggles with this issue, seeing as how it's default settings are sporadic in nature. That being said, writing as if you have a short attention span will only compound the issue. After all, the AI is relying on you just as much as you are relying on it to suggest things.

Before we move on to explaining the models individually, you need to understand that if you write in a simple style, the AI's output will match that in an attempt to stay consistent with your pacing. The same goes for long, drawn out sequences. If the AI thinks that you are trying to create something deep, profound, and meaningful, it will also slow down and match your pace accordingly.
Griffin AI model
The Griffin AI model is the most basic of the three current AI models used by AI Dungeon. That being said, Griffin is predominantly great for Novella or choose your own adventure styled stories, thanks to it's default settings encouraging it to push the story along at a break neck pace. Though it shines in this department, it struggles to keep characters, scenes, and story elements consistent without tweaking the temperature settings to lessen the randomness.

Hyperactive, simple and straightforward. These are three words that tent to describe Griffin's behaviour well, especially when left to it's own devices to come up with story elements. It's at it's best when telling short to mid length stories with relatively simple plots, though it can handle complex plots with your help.

Griffin has a short memory for events and how they happened, and will deviate from the story when given the chance. It is best to regularly update the stories memory pins to compensate for it's short attention span, though it will occasionally still make mistakes. In these cases, simply use the editing feature to correct Griffin's mistakes in story logic. I've found that the further into a story Griffin is, the smarter it becomes in terms of structuring the story appropriately.

All in all, Griffin isn't the best AI, but it's great with a bit of tweaking and hand holding. The settings tab for the AI models has several useful settings that you can adjust for better results, and Griffin gains the most benefits from tweaking the temperature settings.
Wyvern AI model
The Wyvern AI model is the most versatile of the three current AI models used by AI Dungeon. Wyvern is notably great for Novella and more complex story styles, thanks to it's default settings encouraging it to keep the pace consistent with the player or writer. While it excels in this department, Wyvern tends to follow in Griffins footsteps when it comes to occasionally struggling with keeping characters, scenes, and story elements consistent, though Wyvern does a notably better job than Griffin overall, even without tweaking the temperature settings.

Thoughtful, detailed and speedy. These are three words that tend to describe Wyvern's behaviour accurately, especially when left to it's own devices to come up with story elements. It's at it's best when telling mid length stories with relatively complex plots, though it can struggle at times without your help.

Wyvern has a larger memory for events, world information and how your choices shape the story, and as such, will not deviate from the story as often. It is best to regularly update the stories memory pins to compensate for it's occasional lapse in memory, though this is a good and a bad thing. Wyvern's very good at weaving side threads into a overarching narrative, though it can struggle if the plot becomes bloated with details. If the AI becomes confused, simply use the editing feature to correct the part of the story that is confusing Wyvern. I've found that the further into a story Wyvern is, the smarter it becomes in terms of structuring the story appropriately. It's very similar to Griffin in output, though it is generally smarter when it comes to keeping track of things.

All in all, Wyvern isn't the best AI, but it's a great choice overall. Despite the need to help the AI from time to time, the default settings for the AI model outputs great material to bounce off of. Sadly, this AI model requires you to subscribe to AI Dungeons premium services, and it's bigger brother Dragon tends to eat it alive when it comes to overall quality.
Dragon AI model
The Dragon AI model is by far the most advanced and complex of the three current AI models used by AI Dungeon. Dragon is the superior choice for Novella and complex story structures, thanks to it's default settings encouraging it to treat the story like a book or a piece of literature. Unlike Wyvern or Griffin, Dragon rarely struggles with keeping the stories tone, characters, scenes, and story elements consistent, though it will make continuity errors from time to time, especially if you aren't paying attention to those errors yourself. Dragon benefits the most from being treated as a co-writer of equal skill, though it will struggle with inputs that are illiterate when forced to create content on it's own.

Complex, detailed and deliberate. These are three words that tend to describe Dragon's behaviour accurately, especially when left to it's own devices to come up with story elements. It's at it's best when telling complex and slower paced stories with relatively complex characters, though it can struggle at times without your help. Dragon is by far the most literate out of all the AI models, and handles simulating characters well. Those people wanting a fully fleshed out version of their characters to interact with will love this AI model.

Dragon has a notably larger memory for events, world information and how your characters interact with the story, and as such, will rarely deviate from the story unless instructed to do so by your inputs. Since the memory pool is larger, it is less important to regularly update the stories memory pins, though Dragon will benefit from doing so. Dragon will generally take the Memory and World Information into account when making decisions, and can handle large amounts of World Information when constructing large scenarios and over arching plots.

In the rare event that the Dragon AI becomes confused, simply use the editing feature to correct the part of the story that is confusing Dragon. It's by far the best at bouncing back from story and continuity errors, and tends to generate less unusable outputs when in the hands of someone who has a good grasp of how a story should be structured.

Overall, Dragon is the best AI, but it's only as good as you, it's co-writing partner. The default settings for the AI model outputs excellent material to bounce off of and create unique and complex stories, despite it's dependency on the writer's style. Sadly, this AI model requires you to subscribe to AI Dungeons premium services.
Prompt overview
There are many different types of prompt styles, ranging from simple text adventure formats to a novella book style. There is no particularly definitive method to writing and interacting with the story, but some methods certainly give better results than others.

There are two primary ways of writing a good prompt that any of the AI models can understand. You can either write prompts in the second person or in the third person, similar to a standard story layout. The AI's are trained to handle both styles, though they are primarily trained to handle second person scenarios. When writing your story, never use first person. It confuses the AI, and will cause problems in your story later.



Several examples will be given in the following sections that show off the various styles in action.
My advice is to pick the style that you like the most, and stick with it for consistency. The better you get at a certain style, the better the AI is at bouncing off of you. If you are not getting satisfactory responses, consider redoing the story in a writing style that is more comfortable for you.
Default style prompts
The Default style is akin to classic text adventure games like Discworld MUD and Zork. It's generally hard to read unless spaced properly, and the AI tends to do fairly well with the layout.

While there is nothing wrong with using this prompt layout, most AI models will struggle to inject dialogue or characters without some wrangling. When generating a response, the AI will generally try to match the end of the prompt to elaborate on the last thing written by you. Depending on what you write, it could focus on your character, go off on a tangent about the backstory, or elaborate on your current objective. This can be useful for various reasons, but allowing the AI to go on too much of a tangent will cause the story to derail.

Characters

When it comes to characters in default styled prompts, the only way to focus on a particular character is to draw attention to it. By adding a line about your character or an NPC speaking to you to the end of the prompt, you can adjust the focus to steer the AI model in the right direction. This works with any AI model, and it's nearly always a good idea to add something about your character or an interaction between your character and the environment around them to the end of the prompt. The AI will generally prioritise whatever makes narrative sense based on the last few lines, so use that to your advantage.

Basic layout of a Default Prompt

When writing a choose your own adventure / default style prompt, make sure to initially state who you are, what your job / occupation is, and what you are doing at this point in time. A basic prompt should also potentially introduce any NPC's by name, your current location, and goals.

You should always aim to use descriptive wording, and stay in the second person (You, You're, Your) for consistent outputs from the AI. If you plan to publish your work, please space out the prompt into paragraphs for the sake of the reader.

A good example is generally structured like this:
You are Sarah, a rich woman who lives in an old, decrepit, haunted mansion. You are roaming the dimly lit corridors of your home, listening intently for any signs of the ghost that's been haunting your home. The mansions floorboards creak and moan as you walk along them, sounding as if they are going to break at any moment. "I should really get the floor boards fixed." You mutter, lifting your lantern above your head in an attempt to see better. "I know that ghost is here somewhere!"

I've found that while this layout is fun, it is a little too vague to make a good story. The AI will perform reasonably well, but it will struggle to go into detail unless prompted to do so.
Book style prompts
Since the AI models are trained on literature, they are remarkably good at this type of formatting. When writing your prompt in this style, you should aim to use a third person writing style, or a second person approach, similar to default prompts. To help the AI with dialogue, it is recommended that you space out the dialogue so that it is obvious as to who is talking. You should aim to replicate the text layout of your favourite book, visual novel, or light novel while adding your own flair and writing style.

A good example is generally structured like this:
Looking around her as she navigates the dimly lit corridors of her home, Sarah listens intently for any signs of the ghost haunting her home. The mansions floorboards creak and moan as she walks along them, sounding as if they are going to break at any moment. "I should really get the floor boards fixed." Sarah mutters, lifting her lantern above her head in an attempt to see better. "I know that ghost is here somewhere!"

In my experience, prompts written in this style tend to give the best results, regardless of the model used.
TTRPG style prompts
Since the AI models are primarily trained on "Second Person" stories, the AI dungeon AI's are naturally good at emulating the format commonly used by Dungeon Masters. When writing your prompts in this style, you should aim to use a second person writing style that focuses on the world itself.

Similar to the "default prompt style", the AI will take your inputs and respond accordingly. However, unlike the standard layout of the default style, this variant primarily focuses on the world itself, along with factions and characters that will naturally interact with the "Player(s)" or "Protagonist" naturally.

When writing your prompt, memory and World Information, you should be specific about key world elements and events, such as locations, famous heroes, historical events of the world, and the characters that inhabit the world you're crafting.

When creating your protagonist or an NPC in this style, it is recommended to lay the character out in a similar layout to a character sheet. However, it should be noted that World Information cards handle the information a little differently to a character sheet. When creating a character, It should be noted that you should place their "important" or "defining" information at the top of the entry, just in case the World Information is cut off by memory bloat. This isn't always an issue, but a long running scenario will eventually encounter memory bloat. The more concise you are in condensing a character and their strong points, the better the AI will portray them with an artistic flair.

It's also worth noting that you might have issues with the AI's portrayal of your original character, especially if you have a specific image or persona for them. When creating your NPC or protagonist, you should be aware that you are essentially giving a generic blueprint for the AI to construct it's own interpretation of your character. The AI will always assume things and fill in the blanks, similar to a Dungeon Master, though it will be limited to the character data provided.

In my experience, this variant of the "Default Style" tends to give the best results, regardless of the model used. [/b]Setup properly, this style will focus more on the world itself and natural adventures, at the cost of potential bloat.

This style is recommended for beginners, similar to the Default Style.
Memory overview
Memory is a key part to AI Dungeon. It assists the AI in keeping track of important concepts and characters, along with the general overarching narrative that it's trying to co-write with you. While the memory is limited to only 1000 characters, you generally have enough room to write something that gives the AI a good idea of what's going on.

When creating your stories memory pins, you should restrict yourself to talking about things that are necessary to the plot. Extraneous character details and backstories should never be entered into memory, unless it is apart of the basic information of the protagonist. When considering what to put in your memory pins, you should prioritise character names, Character jobs, current events, and future events you wish the AI to weave into the narrative when it gets the opportunity.


So, before we look at some examples, why don't we break down what details are important in a memory tab? There are plenty of factors you should consider, but not all of them are required for the story to function.

Details
Importance?
Relevant?
Required?
Protagonist's name.
Yes.
Yes.
Yes.
Protagonist's age.
In certain circumstances.
Yes.
No.
Protagonist's occupation / Job.
Yes.
Yes.
Yes.
Protagonists appearance.
No.
Yes.
No.
Protagonist's current situation.
Yes.
Yes.
Yes.
Protagonist's backstory.
Yes.
Yes.
no.
Protagonist's equipment.
No.
Yes.
No.
Protagonists location.
Yes.
Yes.
No.
Stories plot.
Yes.
Yes.
Yes.
Protagonist's Allies.
Yes.
Yes.
No.
Stories antagonists.
Yes.
Yes.
Yes.
Ongoing plot elements.
Yes.
Yes.
No.
Ongoing side plots.
No.
Yes.
No.
Finished plot elements.
No.
No.
No.
Past events.
No.
Yes.
No.
Relationships.
No.
Yes.
No.
World descriptions.
No.
No.
No.
Culture descriptions.
No.
No.
No.
World's backstory.
Yes.
Yes.
No.

The table above shows some of the things you should consider when writing your memory tab. The idea is to give the AI an idea of what's going on by feeding it certain required information, alongside other important and relevant pieces of information. You should focus on information that helps the AI shape it's understanding of the world you are trying to co-write with it, though you should refrain from bloating the AI with too much detail.

Giving the AI too much detail will result in the AI getting confused, especially when it comes to deciding what details are important. When in doubt, leave certain details to be fed to the AI via world information.

Before writing your memory pins, you need to decide what is important to share with the AI. If your memory is 1000 characters in length, you need to cut as much "Garbage Data" that could confuse the AI as possible.

Sometimes (especially when bloated), the AI can occasionally fail to differentiate the past from the present, causing it to bring a background plot point into the foreground of the story. This can be a good thing if you have a constantly reoccurring antagonist(s), though you should refrain from putting your history with them in the Memory tab. Instead, consider adding a World Information entry to explain previous historical moments to the AI.

Finally, "Memory" should be used to keep track of important and current moments. It is also your primary way of calling and permanently affixing world information to your story, impacting the output greatly.
World Information overview
World Information is an extension of the AI's memory that allows it to reference important and relevant information within the context of your adventure. By using specified "Keywords" found in your story, the AI can bring up a variety of entries, such as information about the world itself, amongst other custom information written by you, the player.

The "World Information" system is split into several sections, each covering a variety of sub-classes that the AI is trained to recognise. These sections are named "World", "Race", "Class", "Faction", "Location", "Character" and "Other", and contain a limit of 1000+ characters of text used to explain the relevance of the entry to your story.

Though these sections have specific names, they do have some leeway in terms of context. For example, a "Class" could also be an occupation, a job, or a unique title affixed to a certain character. Adding extra "World Information" to the AI's already existing library will allow you to keep details, personas, places and factions accurate to your vision, though the AI will still occasionally make mistakes.

When writing your "World Information", you should write it in a generic manner where applicable. Doing so allows the AI to play around with the entries, and generate a response based on it's own understanding of your entry. That being said, you can add specifics into an entry if you are intent on forcing the AI to mention a specific detail or element of the story.

World Information categories
Info / World:
The "World" tab is specifically for the overarching world that your story takes place in. When creating your "World", you should think of an appropriate name, along with a detailed synopsis of the world. Within the 1000+ character limit, you should write your synopsis to cover the worlds style, races and what or who your antagonist is, and their goals. Optionally, if your story takes place after a large event (such as a demon invasion or a world/universe altering incident), you should mention it briefly in this section, before creating a more detailed entry for the event itself. This will help the AI get a grasp on what has happened, and how that relates to the current plot.

All "World" information within this entry should be current information about the world itself, or it's history. Specifics should never be gone into at great length.

Race:
The "Race" tab is specifically for the overarching custom races that inhabit the world, and by extension, your story. When creating a "Race", you should consider an appropriate name, along with a detailed synopsis of the race that you are creating. Within the 1000+ character limit, you should write your synopsis to cover the custom races culture, general appearance, and either how the race ties in to a place or story element. Optionally, if your race was involved in a large event that changed them (such as a mutation, plague, or a world/universe altering incident), you should mention it briefly in this section, before creating a more detailed entry for the event itself. This will help the AI get a grasp on what has happened, and how that relates to the current iteration of the race currently involved in the plot.

All "Race" information within this entry should be current and relevant information about the race itself, or it's history with the world the race lives in. Specifics should never be gone into at great length, unless the details serve a relevant purpose to the race itself.

Class:
The "Class" tab is specifically for the overarching classes, occupations, and archetypes that inhabit your story's world. When creating your "Class", you should think of a generic, descriptive name, along with a detailed synopsis of the class and it's abilities. Within the 1000+ character limit, you should write your synopsis to cover the classes archetype, style, abilities and other relevant generic information\. Optionally, if your class has a disreputable reputation (such as a Demonology Warlock or a mercenary/bounty hunter), you should mention it briefly in this section, before creating a more detailed entry explaining the event that caused the disreputable reputation for that class. This will help the AI get a grasp on what the class is, and how that relates to the current plot.

All "Class" information within this entry should be generic, current information about the class itself, or it's history and supporting factions. Specifics should never be gone into at great length.

Factions:
The "Factions" tab is specifically for the factions that inhabit your story's world. When creating your "Factions", you should think of an appropriate and descriptive name, along with a detailed synopsis of the faction and their renowned status, goals, and integral leading members. Within the 1000+ character limit, you should write your synopsis to cover the factions role in the world, the factions headquarters (if applicable), perks or other benefits members of the faction have, and other relevant generic information\. Optionally, if your factions has a disreputable reputation (such as a faction of exiled beings or a cult), you should mention it briefly in this section, before creating a more detailed entry explaining the event that caused the factions reputation to fall into a less favourable one. This will help the AI get a grasp on what the factions is, and how that relates to the current plot.

All "Factions" information within this entry should be generic and detailed, and should be focused on the faction itself. When talking about it's history or supporting factions, you should create another entry for that supporting faction, and mention them in passing in the main factions entry so that they are linked. Specifics should never be gone into at great length.

Locations:
The "Locations" tab is specifically for the areas, cities, and notable locations that are apart of your story's world. When creating your "Locations", you should think of a unique and descriptive name, along with a detailed synopsis of the general area. Within the 1000+ character limit, you should write your synopsis to cover the basic information about the area, such as any notable landmarks, descriptions of the interior (if it's a building), or any other notable details that the AI can leverage in a unique way during your story. Optionally, if your "Location" has a "Faction" tied to it (such as a castle containing the worlds royalty or an ancient tower where a group of wizards live), you should mention it briefly in this section. This will help the AI get a grasp on what the location is, and how the AI can use it relates to the current plot.

All "Locations" information within this entry should be generic in it's wording, and should be focused on the location itself. When talking about it's history or inhabiting factions, you should create another entry for those additions, and simply mention them in passing in the "Locations" entry so that they are linked. Specifics should never be gone into at great length, unless it is a key component of the location that is important to explain to the AI.

Characters:
The "Characters" tab is specifically for the notable NPC's that the AI uses to populate your story's world with. When creating your "Characters", you should treat their entry like a character sheet, highlighting their full name, their occupation or class, their race, personality, and appearance. You should aim to write these details in a concise and clear manner, so that the AI understands each component of a character within the 1000+ word limit provided. It is encouraged to make extra "Attributes" for the character to explain their personality, appearance, and history (where applicable) in reasonable depth.

When filled out properly, the AI will use this entry as a blueprint for any characters that have the specified name, or associated keywords. The AI will consult the character sheet, and create it's own unique take on the character. There is no known way to force the AI to exclusively follow the character sheet, so you should primarily focus on the broader details and persona of the character, so that the AI can use the data to generate a faithful persona.

The main things you should mention when creating a character entry are as follows:
1. The characters full name.
2. The characters occupation.
3. The characters age.
4. The characters aligned factions,
5. The Characters appearance.
6. The characters personality.
7. The characters friend groups / allies. (Mention only in passing if applicable)

Other:
The "Other" tab is primarily used for anything that doesn't fit in the other sections. It can be used for Items, magic spell descriptions, explaining the worlds currency, the worlds history, or anything else that requires explaining.

When creating your "Other" entry, you should be descriptive and generic in how you explain the "Other" entry. This will help the AI understand how it can use it in any situation, and craft your story so that it makes sense. If your "Other" entry is focused on a world event that has previously happened, you should describe the event in the past tense, and change your World entry to mention it in passing. That way, the backstory will have an effect on the main story.

Some example:
1. Notable moments in history.
2. Spell books / books
3. Potions.
4. Drinks
5. Food
6. Enchantments.
7. curses.
Author's Note
An Author's Note is an optional set of instructions given to the AI model that shapes its understanding of the tone, structure and style of your story. While optional, this helps the AI create a consistent and coherent writing style that fits the genre you're going for.

While the layout of Author Notes are important, there is not a "definitive" layout that is perfect for all stories. However, you should aim to concisely explain your story's genre, writing style and tone in as few words as possible. Another thing to note is that the Author's Note takes up a priority memory slot in most literacy based AI models, so the more concise you are, the more memory you have to play with.

When deciding how to describe your story's persistent tone to the AI, appropriate, descriptive words should be chosen over generic or vague descriptions. Below, you will find a list of recommended words to use, along with examples within the "Writing a Story!" section of the guide.

A List of useful words to use in your Author's Notes. [WIP]
Please note that this list only contains Author's note suggestions that I have been personally happy with when writing third person or detailed stories. These will work universally, but may have different results when mixed together. Feel free to experiment and come up with your own unique mix of descriptors.

Word
Result.
Descriptive
Encourages the AI to be informative when describing locations, characters and items when appropriate.
conversationalist
Encourages the AI to be talkative while embodying NPC's during dialogue heavy story moments.
convivial
Encourages the AI to convey a friendly and lively atmosphere for locations, characters and items when appropriate.
Romantic
Encourages the AI to engage in tasteful romance during your story. Please be aware that if you encourage some models to gravitate towards NSFW content, you will certainly break Ai Dungeon's terms of service. This does not apply if you are using a third party model, such as Kobold AI's Erebus or Nerys models.
Light Novel
Encourages the AI to write a story like a Japanese light novel, preferably set in third person. This works with any AI model, but may behave strangely with second person models.
Mysterious
Encourages the AI model to construct a mystery. This generic term is best used in combination with other words.
Interacting with your prompts to craft a story
While the tutorial for AI Dungeon recommends that you use the "Say" and "Do" commands to talk and move, this tends to create unnecessary text clutter, resulting in an ugly looking story, and the AI repeating itself constantly.

Despite what you are told in the tutorial, It is not a good idea to use the "Say" and "Do" commands to tell your story. Instead, I'd recommend using the "Story" command to gain some extra control over your adventure. It will only print what you type, and will not potentially create duplicate text entries that confuse the AI. An extra bonus of using the "Story" command is that you'll have full control over how the adventure / story is portrayed. Using the "Story" command can be beneficial even when talking to NPC's, since you can structure your conversation with them in a natural format that is easy to read. The following two examples use both the "Say" and "Story" command.

Writing the story using the "Say" command:
> You say "I am Alice, the champion of Justice! You must be Thraak, right? You're the ugly orc that's been terrorising the town of Vrellin, aren't you!?"[/quote] "I am Alice, the champion of Justice! You must be Thraak, right? You're the ugly orc that's been terrorising the town of Vrellin, aren't you!?" You say, drawing your sword. "So what if I am human? I... Hey! Nobody calls me ugly and gets away with it! You're going to pay for that Human!" Thraak replies.

Writing the story with the "Story" command:
"I am Alice, the champion of Justice!" You shout angrily, brandishing your sword at the rather large, ugly and brutish looking Orc standing before you. "You must be Thraak, right? You're the ugly orc that's been terrorising the town of Vrellin, aren't you!?" "So what if I am human?" The Orc grunts, scowling at you as he struggles to understand you. After a short awkward pause, Thraak's face twists into an enraged expression. He reaches for his giant battleaxe, clearly intent on attacking you. "I... Hey! Nobody calls me ugly and gets away with it! You're going to pay for that Human!"

As you can see, the "Story" command is far more versatile when it comes to spreading out dialogue and using actions at the same time. The "Say" or "Do" commands are great for creating an experience similar to a MUD, but they can create duplicate dialogue that can confuse the AI, along with limiting character movement and speech to their own separate actions.

I personally find that you have more control using the "Story" command, so I recommend that you use that to create stories.
Writing a story! (Alice Fordring Example)
The following three sections below will show you how to construct a solid story example that follows Alice Fordring, a female paladin who wishes to protect others through selfless heroism.

The goal of the following three examples is to give you a basic understanding of the structure we've already discussed in the above sections of this guide.

Feel free to modify the prompt, memory and World Information entries to make this scenario your own. This is merely to help those understand how effective the Default style can be when used appropriately.

Now, let's set Alice off on her adventure, shall we?

Alice Fordring (Default style prompt example)
Now that you know the basics of how to write a decent prompt, let's go over a good example of a custom, yet simple and short Fantasy prompt that is similar to the default scenarios crafted by AI Dungeon's developers. Throughout this section, you will learn how to iterate on a basic concept, and flesh it out into a more complex prompt that the AI can easily work with to create more detailed adventures in the default style.

Prompt:
You are Alice Fordring, a Paladin in the town of Vrellin. After hearing rumours of a demonic presence in the town of Vrellin, you'd travelled to the town, eager to prove yourself as a true heroine. [/code]

Now that we've got a basic prompt, let's make things a bit more interesting by introducing some story elements not commonly found in default prompts. For this example, we'll add extra information on various important and interesting details that are relevant to the story. For this example, we'll add some information about which goddess Alice worships as a paladin, how reputable she is as a holy knight, some extra information about the town, the current situation, and finally, introduce the main antagonists.

Prompt v2:
You are Alice Fordring, a highly revered Paladin of the goddess Xion. After hearing rumours of a mysterious demonic presence in the mountainous town of Vrellin, you'd decided to travel to the infamous Barbarian town, eager to prove yourself as a true heroine of the holy goddess Xion. Upon reaching the town of Vrellin, you'd been shocked to discover that the rumours had not only been true, but they have seriously downplayed how bad things truly were in the town. The town of Vrellin had been ravaged by the demons, with very few of the shops, houses and townsfolk left standing.

As a holy Paladin of the goddess Xion, you have vowed to defend Vrellin until it is safe, though the demon attacks have been getting progressively worse as of late. You suspect that there is a greater Prime Evil pulling the strings, but so far, you have not seen such a creature among the hordes of Demons. Nonetheless, you are determined to defeat the hordes and return Vrellin to it's glory days.

While this example is great, there's something missing. We don't have any characters to allow the AI to embody. Let's fix that, shall we?

Prompt v3:
You are Alice Fordring, a highly revered Paladin of the goddess Xion. After hearing rumours of a mysterious demonic presence in the mountainous town of Vrellin, you'd decided to travel to the infamous Barbarian town, eager to prove yourself as a true heroine of the holy goddess Xion. Upon reaching the town of Vrellin, you'd been shocked to discover that the rumours had not only been true, but they have seriously downplayed how bad things truly were in the town. The town of Vrellin had been ravaged by the demons, with very few of the shops, houses and townsfolk left standing.

As a holy Paladin of the goddess Xion, you have vowed to defend Vrellin until it is safe, though the demon attacks have been getting progressively worse as of late. You suspect that there is a greater Prime Evil pulling the strings, but so far, you have not seen such a creature among the hordes of Demons. Nonetheless, you are determined to defeat the hordes and return Vrellin to it's glory days.

Seeing a portal open in the distance as you approach the northern edge of the town, you are about to charge into battle, when the Vrellin village elder approaches you, yelling at the top of his voice.

With this iteration of the prompt, the AI will either describe Alice's reaction to the NPC, describe the NPC, or commence a conversation with the NPC. This is a great way to start a adventure, since the AI will attempt to inject dialogue early and often, without you initiating conversations. Based on what was written in the previous paragraphs, the NPC might talk about the antagonist or an event, or the NPC could potentially add additional plot threads based on the current or past events.

If you want some control over what you or an NPC says, you can always add your dialogue to the end of the prompt. Don't forget to specify who is talking, along with any actions you wish them to perform during their dialogue.

Why don't we extend the plot through dialogue, along with introducing two new NPC's for the AI to embody and interact with them?

Prompt v4:
You are Alice Fordring, a highly revered Paladin of the goddess Xion. After hearing rumours of a mysterious demonic presence in the mountainous town of Vrellin, you'd decided to travel to the infamous Barbarian town, eager to prove yourself as a true heroine of the holy goddess Xion. Upon reaching the town of Vrellin, you'd been shocked to discover that the rumours had not only been true, but they have seriously downplayed how bad things truly were in the town. The town of Vrellin had been ravaged by the demons, with very few of the shops, houses and townsfolk left standing.

As a holy Paladin of the goddess Xion, you have vowed to defend Vrellin until it is safe, though the demon attacks have been getting progressively worse as of late. You suspect that there is a greater Prime Evil pulling the strings, but so far, you have not seen such a creature among the hordes of Demons. Nonetheless, you are determined to defeat the hordes and return Vrellin to it's glory days.

Seeing a portal open in the distance as you approach the northern edge of the town, you are about to charge into battle, when the Vrellin village elder approaches you, yelling at the top of his voice.
"Dame Alice! The demons are attacking from multiple directions this time! There are more portals to the east! Please! Defend us! Vrellin cannot take another devastating attack." He bellows, his face full of fear as he points to the east side of the town. Behind him, a group of heavily armed soldiers approach, lead by Varrik, the captain of the Vrellin guard.

"Relax old man! Our town has the unbeatable combination of our dear heroine Alice and my elite group of soldiers. I'm sure that we can handle the horde, despite our dwindling numbers." Varrik snorts arrogantly, gesturing to the legion of heavily armed guards behind him. "I've already stationed numerous men at the South, East and West gates, so I'm positive that we will prevail!"

"Oh, by the way madame Alice... Have you reconsidered my offer to share my luxurious bed with you? It must be uncomfortable sleeping in the towns stables. You know that I'm more than willing, and I'd be ever so happy if you indulge me." Varrik add, smirking as he dismounts.

Rolling your eyes at Varrik as he turns back towards you and ogles your body, you ignore him and turn back to the portal, eyeing it with a look of determination on your face. You'd rather not have anything to do with Varrik if you can help it. His attempts to seduce you are becoming insufferable, and you secretly hope that he is eaten by the Prime Evil when it inevitably appears.

Unsheathing your glowing holy sword that was bestowed to you by the goddess Xion, you swing it in an arc in front of you, leaving a shimmering trail of pale blue particles as it cuts through the air effortlessly.

This is a great example of a prompt that encourages the AI to have dialogue driven NPC's that interact with the protagonist and the environment. It is recommended to write as much as you can within the 3500 character limit. While writing your prompt, it is always a good idea to have the mentality of a co-writer. You should work with the AI instead of fighting it. Be patient with the lower end AI's like Griffin, and with enough time and effort, decent stories can be co-written with any of the AI models.
Alice Fordring (Default style memory example)
The "Default" style of prompt gives the AI model some basic information about you, the state of the world and the story that is to unfold. To edit the memory with AI Dungeons default settings, press the pin icon in the bar above the text input on the bottom of the screen. This will open the memory and settings sidebar, where you can edit all kinds of parameters. There are many different memory formats, but a well written default style seems to give the best results overall.

That being said, memory will only serve as a "loose guide" for the AI. Depending on the size of the AI model you are using, the AI will not assume that your inputs are 100% factual and set in stone. All AI models will use your "narrative summary" to generate appropriate content leading up to what is mentioned.

The "Do's and Don'ts" of applying memory to a scenario

Firstly, let's start off with a "bad example" that is solid in theory, but causes problems and inconsistencies later if not corrected constantly. The memory example below is filled with lots of unimportant details about Alice the paladin, which is both a positive and a negative.

On the positive side, the AI could decide to elaborate on her appearance with alarming consistency. Entering details about your character will often allow the AI to front load and remember hair styles, eye colour and hair colour with 70-80% accuracy, though the trade off isn't worth it, due to the negatives mentioned below.

The downsides of writing extraneous details in the "Memory" tab often far outweigh the perks of doing so. Writing down extraneous, generic, or general information about a character will increase the chances of the AI giving these traits to "All Characters" within your scenario. For example, if you were to write in your memory that a character was an angry, drunkard dwarf who likes gambling, the AI will be more likely to generate characters with similar or associated traits in your story This can be a blessing if your world contains multiple races or characters near the player wearing similar outfits, but this should be used sparingly.

When in doubt, any extra details about a character should be confined to World Information, unless it is relevant, important, and required for the plot of the story to make sense.

Bad memory pin:
You are Alice Fordring, a incredibly hot and tall Woman with incredibly large and voluptuous breasts. You have blonde hair and silver-eyes. You are a Paladin who is beloved by all. You are the holy champion of the goddess Xion, who is a hot female goddess that looks like a cute 25 year old Japanese girl with black hair. As her champion, your duty is to slay demons and other evil things that lurk in the mountains to the north of your kingdom. As the chosen one, you've fought the Prime Evil demons over a hundred times, and you've been fighting them for years. You started fighting the Demons seven years ago, after they killed your family and converted your sister into a succubus, which traumatised you as a child. This is the primary reason why you became a knight. After hearing rumours of a mysterious demonic presence in the mountainous town of Vrellin, you'd decided to travel to the infamous Barbarian town, eager to prove yourself as a true heroine, and get revenge on the demons!

As you can see, the above memory pin might look good on paper, but there is plenty of "Garbage Data" that the AI can use to create inconsistencies, continuity errors, and other mistakes that can confuse it. It could bring up a variety of things from the above example, such as Alice's now corrupted, demonic sister being amongst the demons, her background could be confused for her current situation, resulting in the AI saying that she's been staying in the village for years despite only living there for a week, amongst other things.

Using the table found in the "Memory overview" section of the guide, we can trim the excess memory information and provide the AI with a cleaner explanation of what's going on. We'll start with Alice herself, her goals, and what her current situation is.

A good example of a Memory pin
You are Alice Fordring, a highly revered Paladin of the goddess Xion. After hearing rumours of a mysterious demonic presence in the mountainous town of Vrellin, you've travelled to the infamous Barbarian town, eager to assist the townsfolk and prove yourself as a true heroine. You've vowed to defend the town of Vrellin from the Demon hordes, and slay the Prime Evil demon Mephistopheles, who you suspect is responsible for the attacks. You're defending the town of Vrellin alongside Captain Varrik and the Vrellin guards. You're the last defence against the poor townsfolk and their demise.

While this revision of the memory pin is simpler and has less detail, the AI will read it, and immediately understand it on a fundamental level. By having minimal "bloat" or "garbage data" that gives too much detail, you ensure that the AI won't derail the story when left to it's own devices.

While the AI doesn't have any backstory information on Alice, her sister, or Varrik, the AI is more aware of the current situation and plot. Memory should be used to reference World Information cards, which will assist you in filling in the blanks for historical events and backstories.

If you'd like to update your memory with additional information, you can do so by adding it to the bottom of the memory section. Let's give Alice a horse, so that she can explore the area around the town.

A good example of a Memory pin
You are Alice Fordring, a highly revered Paladin of the goddess Xion. After hearing rumours of a mysterious demonic presence in the mountainous town of Vrellin, you've travelled to the infamous Barbarian town, eager to assist the townsfolk and prove yourself as a true heroine. You've vowed to defend the town of Vrellin from the Demon hordes, and slay the Prime Evil demon Mephistopheles, who you suspect is responsible for the attacks. You're defending the town of Vrellin alongside Captain Varrik and the Vrellin guards. You're the last defence against the poor townsfolk and their demise. You own a foul tempered horse named Maron.
Alice Fordring (Default style World Information example)
As the name suggests, "World information" is primarily used to define things within the world that are crucial to your plot. This can be anything, from characters to locations and items. Each entry should be short and concise, with just enough information to keep the AI from taking extreme liberties with your creation.

There are many formatting styles for "World Information" that the AI can use to understand your creations, though some will work better than others depending on the model you're using. For this section of the tutorial, we will be using a "Default" style reminiscent of the formatting used by AI Dungeon's default prompts.

Each World Information entry is split into multiple fields which tell the AI how it should interpret the information you've given it. The three main fields are the "Keywords", the "Entry" itself and the "Name" assigned to the entry. Extra inputs such as the "description" or "Tags" are used to help you find these entries as your world grows in size and are not taken into consideration by the AI when generating content.

Define the basics of your story.

Before we get too carried away with creating entries, let's define the basic world information your story will use. These should consist of a short bio of your character, any classes the world uses, Any races the world has and any factions or locations relevant to the plot of the story you are trying to tell. You can add these things to the AI's memory by selecting the "World Information" tab in your stories settings page. You can also access the "World Information" tab when editing a scenario.

Defining Alice (Character):

The following is a good example of a simple character sheet.

Keys: "Alice Fordring, Alice, The golden knight, Alice the paladin" Name: "Alice Fordring" Entry: "Alice Fordring is a female half-elf paladin who serves the holy goddess of light. She has blonde hair and blue eyes. She wears a set of blue and white plate armour, reminiscent of the standard armour worn by church knights. Alice is a high ranking adventurer, thanks to her status as the "champion of the light goddess". Her personality is that of a battle hardened and strong willed woman, though she can be naive at times."


Defining Alice's Class:

Keys: "Paladin, Paladins, Paladin of the holy light goddess, Paladin of the light goddess, Paladin of light" Name: "Paladin of Light" Entry: "Paladins of the church are battle hardened adventurers who serve the goddess of light. They are taught to use magic from a young age, along with the art of combat. Paladins are completely devoted to their mission of eradicating the demon threat and are respected throughout the kingdom for their valiant efforts.

Defining Alice's Race:

Keys: "Half-Elf, Half Elf, Half-Elves, Half Elves" Name: "Half-Elf" Entry: "Half-Elves are a hybrid race between a Human and an Elf. They are commonly distrusted, shunned and feared by the Human populations of the kingdom, due to their affinity for magic and their bloody history with the Humans. Half Elves are a proud race and often excel as priests, witches and other magic attuned roles. They are often considered to be pretty, despite their social status being similar to other Demi-Humans.

Defining Alice's Faction:

Keys: "Church Knights, Paladins of the light goddess" Name: "Paladins of the light" Entry: The Paladins of the Light are a military branch of the church that is tasked with banishing the demon threat from the world. Their mission is to protect and maintain order amongst the people and spread the word of the church."
Writing a Story! (Table Top / Second Person style)
The following section will cover the "Table Top" (TTRPG) style, more commonly known as the "Second Person" storytelling method.

This is quite similar to the Default style, but when deconstructed, the style is focused on telling the AI about the world and adventure. It relies more on World Information to fill in the gaps for characters, locations and items, but the AI will have a better understanding of the world itself, along with its threats.

The closest thing to a "Table Top" formatted scenario in AI Dungeon are "Worlds", though they should not be considered as a good example for this style. They should be considered a basic variant of the default style, with table top elements.

The following sections will teach and show you how to construct a "Table Top" styled prompt, memory and World in the "Second Person" TTRPG style. Feel free to modify the components of the example to suit your own needs and make the scenario your own.

Now, let's start constructing the world and scenario!

The Realm of Alterra! (TTRPG Prompt Example)
The following tutorial section will show you how to create a prompt that is usable in a "Table Top RPG" scenario style that is somewhat similar to the "Default" second person prompts.

Throughout this section, you will learn how to iterate on a basic concept, and flesh it out into a more complex prompt that the AI can easily work with to create more detailed adventures in the TTRPG style and it's many variants.

Let's start with a serviceable Initial Prompt:
The realm of Alterra is a magical and wondrous place, full of varying cultures. The Dwarves of the Dun'vorough mountains and the Elves of the forests of Elvegarde live in peace with the Human settlements scattered amongst the realms four major kingdoms and regions. However, a mysterious and powerful darkness known as the "Prime Evil Entity" is looming over the realm, threatening the kingdoms of the Arlio, Xeredune, Kernaris and Stianus regions. Adventurers like yourself have been asked to venture forth and slay the "Prime Evil Entity", and save the Realm of Alterra from certain destruction. Though many heroes have tried to quell the Prime Evil Entity, none have defeated it. You are ${character.name}, a ${Gender?} ${Race?} ${Class / Occupation?} living in the town of ${Your towns name?} as an adventurer in the ${Region Area} region. You are considered to be ${Trait / renown that defines you} and wield a ${Weapon type} to great effect. Your longtime companions and friends are Talion, a scoundrel who loves hunting for treasure and Torn Iron-beard, a rambunctious Dwarf paladin. Riding back into town on your mounts in a battered and bruised state, you gaze around at the houses making up the town as you trundle by. Though all is seemingly quiet, you know that all is not well.

This is a really basic prompt! How can I give the AI a specific enemy to embody?

While the current prompt seems to be good enough, there are several things that could be added and improved to prevent classic jittery behaviour from the AI model, such as short interactions or sudden, jarring transitions. With this prompt, the AI can do whatever it wants when it comes to generating the threat within the town. It could be the Prime Evil Entity itself, or a completely random threat.

Let's make things a bit more interesting and streamlined by introducing some story elements commonly found in Table Top RPG prompts. For this example, we'll add extra information on various important and interesting details that are relevant to the story. For this example, we'll add some extra information about the town, the current situation, and finally, introduce the main antagonist. Alternatively, you could introduce an allied enemy faction that has ties to the antagonists.

Prompt V2:
The realm of Alterra is a magical and wondrous place, full of varying cultures. The Dwarves of the Dun'vorough mountains and the Elves of the forests of Elvegarde live in peace with the Human settlements scattered amongst the realms four major kingdoms and regions. However, a mysterious and powerful darkness known as the "Prime Evil Entity" is looming over the realm, threatening the kingdoms of the Arlio, Xeredune, Kernaris and Stianus regions. Adventurers like yourself have been asked to venture forth and slay the "Prime Evil Entity", and save the Realm of Alterra from certain destruction. Though many heroes have tried to quell the Prime Evil Entity, none have defeated it. In addition to the dire situation the realm faces, the ever looming threats of the Seven Witches of Sin and their cultists allies, the Undead Scourge lead by the Lich Queen Alisa Fordring are ever present. You are ${character.name}, a ${Gender?} ${Race?} ${Class / Occupation?} living in the town of ${Your towns name?} as an adventurer in the ${Region Area} region. You are considered to be ${Trait / renown that defines you} and wield a ${Weapon type} to great effect. Your longtime companions and friends are Talion, a scoundrel of a human who loves hunting for treasure and Torn Iron-beard, a disgraced and rambunctious Dwarf paladin. Riding back into town on your mounts in a battered and bruised state, you gaze around at the quaint houses making up the town as you trundle by. Though all is seemingly quiet, you know that all is not well. The streets are quiet, and there isn't a single person roaming the streets. Something is clearly amiss. As you approach the center of town, you notice a strange group of Women shrouded in black hooded cloaks. All seven members radiate a powerful magical signature that's eerily familiar to you. In fact, you know exactly who they are, and the destruction they often bring to settlements that they prey upon.


Will this addition to the prompt really get a better result?

While this example is great, there's something missing. We don't have any characters to allow the AI to embody. Let's fix that, shall we?

Prompt V3:
The realm of Alterra is a magical and wondrous place, full of varying cultures. The Dwarves of the Dun'vorough mountains and the Elves of the forests of Elvegarde live in peace with the Human settlements scattered amongst the realms four major kingdoms and regions. However, a mysterious and powerful darkness known as the "Prime Evil Entity" is looming over the realm, threatening the kingdoms of the Arlio, Xeredune, Kernaris and Stianus regions. Adventurers like yourself have been asked to venture forth and slay the "Prime Evil Entity", and save the Realm of Alterra from certain destruction. Though many heroes have tried to quell the Prime Evil Entity, none have defeated it. In addition to the dire situation the realm faces, the ever looming threats of the Seven Witches of Sin and their cultists allies, the Undead Scourge lead by the Lich Queen Alisa Fordring are ever present, waiting for their chance to cause chaos in the realm.. You are ${character.name}, a ${Gender?} ${Race?} ${Class / Occupation?} living in the town of ${Your towns name?} as an adventurer in the ${Region Area} region. You are considered to be ${Trait / renown that defines you} and wield a ${Weapon type} to great effect. Your longtime companions and friends are Talion, a scoundrel of a human who loves hunting for treasure and Torn Iron-beard, a disgraced and rambunctious Dwarf paladin. Riding back into town on your mounts in a battered and bruised state, you gaze around at the quaint houses making up the town as you trundle by. Though all is seemingly quiet, you know that all is not well. The streets are quiet, and there isn't a single person roaming the streets. Something is clearly amiss. As you approach the center of town, you notice a strange group of women shrouded in black hooded cloaks. All seven members radiate a powerful magical signature that's eerily familiar to you. In fact, you know exactly who they are, and the destruction they often bring to settlements that they prey upon. Dismounting as you eye the group warily, you notice some details that confirm your suspicions. All seven of the hooded figures all resemble the Witches of Sin, a powerful group of witches who lead the Seven Sins cult - a cult dedicated to resurrecting the Prime Evil Entity and the demons who embody the Seven Deadly Sins. As you approach, the witches raise their heads in unison, revealing their face to you. Though their beauty is striking, there's no mistaking them. Before you stands Aiyoku the Witch of Lust, Ōkui the Witch of Gluttony, Ahmya the Witch of Greed, Ikari the Witch of Wrath, Xion the Witch of Envy, Serina the Witch of Sloth and Hokori, the Witch of Pride. "Now my sisters, let us deal with these... Oh... it's you guys again!" Aiyoku, the Witch of Lust states flatly in a lustrous, yet flat tone. "Let me guess... The adventurers guild sent you to try and stop us from resurrecting the Prime Evil Entity again, right? Well, you're too late. We've sacrificed most of the townsfolk already."
The Realm of Alterra! (TTRPG Memory Example)
The following example is a memory example for the TTRPG / Second Person Adventure format.

Treating the AI like a co-writer or a Dungeon Master that is used to bouncing off of player input makes things a little smoother, though this mind set isn't required to make the formatting work effectively. It's not ideal, but the AI's focus on the World itself will make it noticeably less jittery when coming up with characters and long lasting interactions / conversations0.

If you are encountering quirky behaviour such as jumping locations, short interactions or plot twists where the AI generates a threat out of something strange, you can use a variant on this style to gain decent and consistent results.

That being said, it will be jittery if too much info is present, so it's best to feed it info in small and concise bites. When in doubt, the second person memory style should be structured like this:
<General World>, <You>, <Optional Location>, <Objective>, <secondary objective>.

Memory example:
The realm of Alterra is a magical and wondrous place, full of varying cultures. The Dwarves of the Dun'vorough mountains and the Elves of the forests of Elvegarde live in peace with the Human settlements scattered amongst the realms four major kingdoms and regions. However, a mysterious and powerful darkness is falling over the land, threatening the kingdoms of the Arlio, Xeredune, Kernaris and Stianus regions. You are ${character.name}, a ${Gender} ${Race} ${Class / Occupation} living as an adventurer in the ${Region Area} region. You are considered to be ${Trait / renown that defines you} and wield a ${Weapon type} to great effect. Your companions are Talion the Scoundrel and Torn Iron-beard, a disgraced and rambunctious Dwarf paladin. You have been asked to venture forth and slay the "Prime Evil Entity", and save the kingdom of ${Kingdom name} in the ${Region Area} region from certain destruction. As a secondary objective, you and your companions have been asked to keep the town of ${insert settlement here} safe and quell the ever looming threat of the Val'hal Orcs, and the Undead Legion of the Lich Queen, Alisa Fordring.

Q&A:

Why are there less details for my character and companions in this example?

The above relies on world information cards for specifics on characters, regions, kingdoms and races that inhabit the world, along with the threats that are posed to it. A basic plot synopsis in this style should give a pretty decent Table Top vibe when set up properly and encouraged to stay on a lengthy scene.

Why focus on the world itself?
By focusing more on the world, the AI is more aware of its current state. It's less likely to forget certain story beats that have happened prior to the adventure, along with any current objectives.

Why does this look similar to the Default Style?

This "style" uses the same basics found in the Default style, but has a different focus. While writing in the "Default style" is more generic and balanced, it doesn't give the AI as much of the world to work with. By giving it that knowledge, the world stays persistent, at the cost of more randomised character details and random plot elements.

Why are we not telling the AI that it's a TTRPG?

By telling the AI that this is a "game", the AI automatically assumes that the story is no longer an "adventure" that uses literature tropes found in it's training data. While it will often achieve the same result, "Game Adventures" will be written in an odd formatting by the AI, who will try to help you "gamify" the scenario. The AI was never trained to do this well, so it will struggle to stay coherent in the long run. Instead of treating it like a game, you should aim to treat it akin to a LITRPG novel, like the Viridian Gate Online series by J.A. Hunter.

What should I do if I want to enter game terminology into my story?

Similar to how it's handled in LITRPG novels like Viridian Gate Online by J.A. Hunter, you should aim to manually input those data points as world information or manual text inputs. That being said, you should NOT allow the AI to become fixated on anything that isn't relevant to the story. Spells that deal overarching damage should be put into World Information, but the damage itself should be calculated and manually applied where possible. This will prevent the AI from bloating itself with gaming terminology and ruining the fantasy setting with numbers for everything.