Tutorial: Advanced

From AI Dungeon Wiki
(Redirected from Advanced)
Jump to navigation Jump to search
IconWarning.pngThis page is actively being worked on by someone, and an edit could mess that up. Please do not edit it for now. If you put this here, remember to remove it!


This tutorial explains advanced concepts pertaining to some of AID's most powerful features, namely Remember, World Info, and the premium-only Author's Note. It also shares techniques discovered by the community to help you attain mastery over these complex tools. While proper usage of these techniques can vastly improve your gameplay, story-writing and Scenario creation experience, most of them are not recommended if you are still new to AID. If you are a newbie, make sure to read the other Tutorials first, then play through or create a couple Scenarios to get the hang of the available mechanics, before diving into the bottomless maelstrom of knowledge below!

Author's Note

Author’s note, referred to as AN or A/N, is a 'metacommentary note' that’s always positioned 3 lines above your current input. You can use it to direct the AI towards using a a certain writing style, conveying a certain tone, or really any sort of guidance you can squeeze in with a carefully enough worded sentence.

To access Author's Note, open up /remember through a text command or the pin button; at the bottom there should be a long rectangular box that says, “Style hint: Use a very descriptive writing style.” This is where you put in the desired AN.

Whatever you put in that box will automatically be prepended by 'Author's Note:' and will be consistently placed three lines above the latest piece of text. It won't be visible to you but it will to the AI. So, to the AI it should look something like this:

[Author's Note: Text you put in as the author’s note.]

This simple formatting makes the AI see it as 'metacommentary', as if the author is commentating on the current narrative. Hence it can be used to give the AI instructions on how or what it should be writing. Note that due to its close proximity to the next output, it has an immense amount of influence on what comes next, even when compared to /remember and World Info. Be sure to change it to suit the current situation if you want to make full use of this powerful tool.

Keep in mind: the AI sees itself as the author, so try to word it in a way that doesn't contradict that fact.

Stick To A Purpose

Now that you know the abstract concept behind it, let’s move on to more practical stuff. How do you actually use it to your advantage? Well, that depends on how you want to use it.

Style

The most common way of using AN is to make it influence writing style. This is similar to the sample text you see when the box is left blank, 'Use a descriptive writing style.' Typing this in, for example, would lead to the AI seeing: [Author's Note: Use a descriptive writing style.]

From this one sentence the AI might start to write more descriptively because it sees ‘Use a descriptive writing style’ as a piece of instruction rather than something said in the narrative. Unfortunately, the wording of the sample is sub-optimal due to it contradicting the perspective of the AI as the writer. It might still help plenty, but it’s too vague and might be ignored or be confused as to what it means.

The solution? Be more specific, and write as if it’s the author telling you about how they’re going to word things.

Example ANs for style:

This is a really detailed and descriptive scene of location X.

This scene is written in a quirky and whimsical style.

Character X will be described in vivid detail.

I was very stoned when I wrote this.

(Credit to Gnurro)

Prose inspired by [insert author name].

Written in the style of [insert author name].

(Credit to Onyx)

There’s no surefire way to spur the AI to write in a certain style. Feel free to come up with your own using these as a basis. Also see this link for more useful writing styles.

Tone

Similar to style, but less to do with how the AI words things and more to do with the atmosphere of the current narrative. Since this can vary from story-to-story, you'll need to adapt it to suit your needs. You could have the AN say something ominous like, [Author's Note: It all goes downhill from here...] or word it as if the author were reassuring the reader to take a deep breath, [Author's Note: This is just a comfy scene revolving character X and character Y.]

Frame it like the author’s commentary on the general mood of the situation.

Example ANs for tone:

Things are about to get dark.

It all goes downhill from here.

This is a dramatic scene with tons of symbolism.

(Credit to Onyx.)

This is a comfy scene revolving character X and character Y.

Narrative Direction

Perhaps one of the most under-utilized ways to use AN is to declare a narrative direction you want it to take. Use it like a director's megaphone. Unlike /remember and WI memory, AN being in close proximity means you can directly tell the AI what should happen next. You can yell at the AI what should happen next by making it think it just told you what will happen next. Confused?

Here’s a few examples of this in action:

You are about to meet a man named [character name].

Character X is going to betray you in this scene.

The kingdom is about to find barbarian invaders at its doorsteps soon.

Character X has a secret crush on you and they want to confess their feelings.

Origins

Contrary to what you may believe, the AI probably doesn’t associate this with the classic author’s note at the start or end of professionally written fiction. I'll have to be the bearer of the bad news; the only places where you see an author’s note disruptively inserted right in the middle of a narrative is… yes, fanfiction. It’s very likely that the AI learned all this from amateur works.

Do a bit of research yourself: https://www.fanfiction.net/

Just because it learned from them though, doesn't mean it'll suddenly go into fanfic writer mode whenever it sees an AN inserted in the middle of the story (for the most part. Hopefully.)

Basic Json file explanation/World info Formats

All of these explanations are from the discord server and one from reddit

By and from Zaltys on discord

Mike Haggar:[Human<male, 202cm, 140kg>. APPEAR<Haggar>:Stocky, muscular, big arms, hair<brown>, mustache<brown>; MIND<Haggar>: Just, upright, direct, upbeat; WORN:Eyeglasses, pants:<green>; SUMMARY<Haggar>:Born in 1943, from Final Fight and Street Fighter games, ex prowrestler, grew up on streets in Metro City, mayor of Metro City, fought Mad Gear & Skull Cross gangs, fights gangs, "It's my job to keep Metro City safe!", loves curry, friends:<Cody, Guy>, daughter:<Jessica>.]

  • This format must have a . near the end to work correctly. Do not use extra periods within categories, not even in quotes.
  • None of the categories are required. If you want the AI to fill in blanks for things like clothing, just leave those categories out.
  • Avoid using dashes. (Jan 2021 change made those weaker.)
  • Including the name (inside <>s) after the categories helps Griffin parse the entry.
  • Categories must be typed in UPPER CAPS, with the exact spelling. APPE and SUMM can be used as abbreviations, most other abbreviations won't work properly.
  • Other useful categories for creatures and characters include MOV (for movement-types, such as 'slithering'), GRAB (for object manipulation, such as 'talons', 'beak', or 'coiling'), DIET (for preferred food), and POWERS (superpowers, etc).
  • All of it goes into single WI entry with no line breaks, under keyword 'haggar'.
  • Can be used for nearly anything, with right categories. Use CLIMATE (abbr. CLIM), GEOGRAPHY (GEOGR), BIOME, EXIT, CITIZENS (CITIZ), CULTURE, FEATURES, and THREATS (THRE) for locations. EFFECTS for effects from spells, food, medicine, magic items, etc.

and a reddit post originally made by u/curious_nekomimi or linked by Cratos on the #📑┊world-info channel. https://www.reddit.com/r/AIDungeon/comments/jsjynx/json_formatting_tutorial_1/?utm_source=share&utm_medium=web2x&context=3

How AiD's json works 101

If you had troubles understanding how json works in AiD then I am sure this will clear up maybe-said so difficult that you might've faced when exploring json. Generally, world info entries should look something like this:

[

 {
   "id": "0.2721113562200028",
   "keys": "Kanamori Sayaka,Sayaka",
   "entry": "She's a Shibahama High student and also has a role as  producer in the Motion Picture Club. She's also the tallest among Asakusa and Tsubame. Also has long black reaching over her shoulders. Kanamori wears upper rimmed black glasses, though she only seems to use them in class as they are otherwise resting on her head. Kanamori wears school uniform which consists of white school shirt, a blue blazer, and a navy blue skirt. Additionally She wears a teal tie, black knee socks, and brown shoes."
 },
 {
   "id": "0.9342004754509011",
   "keys": "Midori Asakusa, Midori",
   "entry": "Asakusa is a girl of short height, shorter than her peers, with a combination of short black-colored hair that matches her pure black eyes. She also carries around a camouflage sun hat and backpack.\n\nShe wears the standard female uniform in the school that she attends, which consists of a short blazer over a tie, with a long dark blue skirt that comes down to her knee, finishing off the outfit with white socks and brown loafers. "
 }

]

You may notice the commas on each end of a quotation mark on "Keys" and "id", that's how json generally works but it also can be without the "id" in there because it'll generate a new one, once it's imported. You can import the world info entries with the ones you exported or you can write your own and have them in hand for any future scenarios. One more thing if you plan to have more then just one or two, you'll need to copy the left facing curly brackets, the comma and the right facing curly bracekt, that way You can import multiple World info entries without needed to import individual ones and it'll be less time consuming for yourself.

A spread sheet of the existing formats can be also found here