Writing Help

⬅ Back to Lander

= Writing Help =

This section seeks to explain in detail the finer points of using NovelAI to manage the world presented in your Story.


 * Advanced Writing
 * Interacting
 * Keeping Track
 * Perspective
 * Custom Pronouns
 * Verbs
 * Steering the Plot

-

Interacting
At many points in your tales, you may find yourself wanting to directly influence the world around your protagonist. In these cases, there are a number of simple ways you can do so!

Absolute Phrasing
An easy method of interacting with the world presented in your Story is to directly edit the text. If you were presented with a chasm and wanted to leap across it, simply add this to the Story and it will have occurred:

Pros:


 * Immediate result
 * Definite outcome guarantees flow in the direction you desire

Cons:


 * Interrupts narrative flow
 * Leaves less room for AI creativity

Ambiguous Phrasing
The previous sentence has a definite outcome - you will jump over the chasm, as you just told the AI you did so successfully. If you wish to have any chance of failure or an unexpected outcome, try to phrase the sentence so the outcome is unsure, like:

or

Because your action has no definite outcome attached, it's now up to the AI to decide how things progress from here. You could succeed, fail, or perhaps have a giant eagle swoop down to save you at the last moment.

Pros:


 * Immediate result
 * Indefinite outcome leaves room for AI creativity

Cons:


 * Somewhat interrupts narrative flow
 * Might not lead you where you wish to go

Dangling Prompts
Another simple method is to begin your sentence, then let the AI complete it. With the previous example, it would be phrased thusly:

As this sentence has not been completed, the AI can decide what happens next. The dangling prompt method is noticeably more fluid within the Story's flow, and reduces the chance of unexpected actions performed thereafter. This method allows the AI considerably more freedom, and it may even choose some additional actions for you. Don't be surprised if you perform a graceful pirouette with this method!

Pros:


 * Indefinite outcome allows for great AI creativity
 * Maintains narrative flow
 * Can lead to truly unexpected outcomes

Cons:


 * No guarantee of an immediate result
 * Can require several retries before obtaining an "acceptable" outcome

Indirect Intent
You may wish to afford the AI more control, while still wanting a character to do something. In these cases, it's possible to use Memory or Author's Note to tell the AI of your desire to act.

Though this method is far less effective than directly editing the Story, it allows the AI to have these actions performed at a point that more fluently fits into its narrative. Do note this could be the very next line, or even three paragraphs from now!

You can improve the chance of this working by styling it after chapter titles, as in:

Pros:


 * Allows for greater AI creativity
 * Indefinite outcome and timing can lead to interesting developments

Cons:


 * Delayed, potentially no result
 * Does not help with pacing

Getting More Detail
Examining the world presented within your Story is simple, and can be used in conjunction with the above methods. The best results are often found using dangling prompts, because they flow more fluently within the narrative of the Story while affording the user a high degree of control.

This will encourage the AI to provide more information about the noun (it) in relation to the examining verb (peer) and the direction adverb (across). As such, it will be very likely to describe what it is you see as you peer across the chasm.

The same approach may be used during existing descriptions or exposition.

While this sentence is interesting, you may wish to know something specific about the chasm - perhaps what's on the other side. In this case, the best course of action is to edit the Story directly with a dangling prompt containing something to direct the AI.

Keep in mind that the best way to obtain more detail is to perform actions that would lead to acquiring information. Use verbs related to the five senses, but also think or ask. Adverbs and circumstancial complements for time, direction, origin, intent, and so many more will help refine what kind of information you will receive.

Dialogue
Want to say something? It's easy - just place your spoken words within quotation marks (" and "), and for stronger effect, append a declarative action verb, like so:

Of course, this is rather bland phrasing. You may wish to use more inventive language, providing more depth to your dialogue like this:

Notice how this provides a simultaneous action, as well as a tone to your speech? While this can certainly be overdone, it's an effective way to encourage more intricate scenes as presented by the AI in your Story.

It's also possible to use varied dialogue styles, as long as they maintain a noticeable pattern. One can can use split-dialogue:

Which will encourage an addendum to the first spoken sentence based on the appended prose. Another common method is first specifying the speaker, which is more likely to produce character-accurate dialogue:

Each of these methods provides a similar experience. It's up to you to decide which to use!

Uncertain Speakers in Dialogue
Occasionally, you may find either yourself or the AI not specifying a speaker for lines of dialogue.

While this is commonly acceptable in traditional literature, it can cause confusion in AI-generated works. This is because the AI does not track speakers - while a human can reason which character is likely to have spoken a line, the AI will never be sure unless a speaker is directly specified.

Using the techniques provided, you will find yourself able to interact with and examine the environment presented to you in your Story with a high level of detail.

⬆ Return to Page Top

-

Keeping Track
Stories longer than the Current Context will require some input from the user to maintain narrative cohesion. This is because the AI can only read so much text at a time, so things that happened further back in the Story will be forgotten unless you keep track of them using Memory, Author's Note and the Lorebook.

What to Add
As there is a limit to how much the AI can process, it's important to only keep track of things that matter. For example, it's not important to note how many freckles a character has unless it's important to the plot.

Many users like to treat these Stories similar to role-playing games. That's fine, and works great! Just remember that every detail will dilute the AI's focus - for a more focused experience, keep track of only the most critical elements.

When to Take Notes
The AI will check the Story's Memory every time you hit Send, though the Memory appears before the actual Story segment seen by the AI. As such, it's only important to keep track of things within the Current Context.

Despite this, it's generally a good idea to update anything that changes as it does. For example, if you have gold and receive some more, it's best to immediately update this if you're keeping track: so you don't forget!

Working with the Lorebook
While the Lorebook can provide additional information to the AI, it only triggers on words present in the Story itself. Because of this, it's important to give a brief description of something present in the Lorebook if you're keeping track of it in the Memory. Otherwise, when the AI introduces the thing into the actual Story, it may get some details wrong because it hasn't actually read the notes yet.

For example, a Lorebook entry may describe a character named "Seren" as a sneaky sort, who's currently an undercover agent in a gang. If you're keeping track of this in the Memory, you'd simply refer to them at least once as, so the AI knows the basics when introducing them.

How to Format Memory
There is no set standard to NovelAI's Memory formatting. That said, you will find the best results by following a few simple guidelines:


 * Keep it simple. Only take note of things that matter, either at all times or for the specific moment in the plot. Because every Story is different, exactly what this means will vary - it's up to you to decide what's important.
 * Keep it together. Note down related things on the same line. For example, splitting up details for a character's appearance across lines will only confuse the AI. Because of this, you will generally want to have your Memory divided into sections relating to every entry. Keep a character's outfit on the same line as the character's hairstyle, and a location's population on the same line as its history. Use headers to categorize information, and separate them with commas, semicolons and brackets, which all have a strong effect.
 * Keep it literal. Using inventive language may be tempting, but can greatly reduce the accuracy of your Memory entry. Instead of describing an apple as, just refer to it as  . The Story is for more complex prose, not Memory.

Why the AI Forgets
If you find the AI is unable to accurately 'remember' something, there are a few possibilities as to why. This is easily remedied in most cases by following simple steps:


 * 1) Check the Current Context. What the AI is getting wrong may have faded from what it's currently able to see in the Story. If this is the case, that's okay! This is why Memory exists, after all.
 * 2) Repetition Penalty. This is a common cause for the AI 'forgetting' colors and other small details that you've outlined in AN or LB entry. If this happens frequently, consider whether you really need to include all the small details in the entries, or switch to using a different preset with a looser repetition penalty and larger token pool.
 * 3) Check the Phrasing. If you added something to the Memory and it's still being misremembered, it may be down to wording. Keep in mind there are a number of ways to interpret simple sentences in English - for example,   may imply the flower is the same color, or the same size. As the AI is not able to deduce the intricacies of figures of speech on its own, it can sometimes take things too literally.
 * 4) Try something different. It could be that the thing you are trying to have remembered by the AI just isn't compatible with its current abilities. In this case, it's best to try to figure out what it is that is "confusing" the AI, and try wording it down in a different way.

Below is an example of a common Memory layout. Simplified prose is ubiquitous, though it can occasionally fail to get the point across. Try to use the least amount of words as possible, while still getting the information across to the AI.

[ High Reach city is futuristic dark gritty corrupt. Founded year 2387. 3 districts: Diamond, Industrial, Lower. Diamond District guarded with walls. Industrial District working class polluted. Lower District oppressed rioting dirty. Winter Syndicate (W.S.) gang is trying take over High Reach city. W.S. is ruthless greedy based in Industrial District warehouse. Eron is gritty detective trying to take down W.S. gang. Eron has strong morals and grew up in Lower District. Eron wearing detective coat, detective hat, pistol. Eron got case from boss, found lead in Slums for contact with spy in gang (Seren) and got call to meet here in Slums. Currently cloudy night. In Lower District, on street. Seren (sly undercover gang spy) is here. ]

⬆ Return to Page Top

-

Perspective
In this context, perspective means the narrative point of view (or POV) represented in your Story. There are three perspectives - First Person, Second Person and Third Person.

First Person
In this perspective, the narrator is both a participant and self-referential in the Story. They will typically refer to themselves as "I", "me", and similar words. As such, the narrator is usually the protagonist. Most users will recognize this perspective from diaries and other autobiographical works.

Because the protagonist's name is not specified through self-reference, it should be noted in the Memory or Author's Note to maintain narrative cohesion.

As a reference:


 * Nominative pronouns serve as a subject.
 * Relative pronouns serve as an object complement.
 * Possessive pronouns serve to designate the owner of something.
 * Reflexive pronouns are used as the object complement when it refers to the same thing as the subject.

A quirk of the First Person Perspective is that the narrator should logically have a way of telling the Story if presented in the past tense. This is because a narrator who is rendered incapable of retelling their tale would have no way of authoring the Story.

Second Person
This perspective is especially popular with the Choose Your Own Adventure (CYOA) variety of literature. Also known as gamebooks, these typically utilize second person as a way to draw the reader into the Story by implying they are the protagonist.

Due to a relative lack of second person training material, there may be a downgrade in literary quality when utilizing second person.

Again, no name is specified, so you should note it down in the Memory or Author's Note to maintain narrative cohesion.

While second person can be effective at increasing the reader's immersion, it also requires further suspension of disbelief than the other perspectives, as the reader should be comfortable assuming the protagonist's position.

Third Person
This perspective is by far the most plentiful in fiction, owing to its versatility in scope and capacity for omniscient narration. For users who wish to switch the currently-followed protagonist or simply provide enhanced worldbuilding, third person offers powerful narrative capabilities.

Because a name is specified, it is not necessary to list which character is the protagonist. However, please note that not doing so will result in shifting third person. This means the narrative may follow any of the characters presented, rather than being limited to events unfolding around a particular character. This can be avoided by having a reminder in the Memory or Author's Note on who is important to the plot.

Shifting third person is not necessarily a bad thing, of course - it's simply a phenomenon that can occur during the utilization of this perspective. One can even encourage the perspective to shift by removing any hints as to who the current protagonist is, then focus your inputs on a specific character in the Story.

It is important to note that the AI does not track speakers, and it is important even in traditional literature to regularly re-establish the identity of the subject or object.

Changing Perspective
It is also possible to switch perspective during your Story. This allows you to experience the world presented in your Story from a different point of view, and even reveal the inner thoughts of an entirely different character! Should you wish to do so, simply follow the steps below.


 * 1) Separate your previous text in the Story from the next text. A simple way to do this is to add multiple new lines, or a dinkus (***), then another new line.
 * 2) On the most recent line of your Story, add a perspective-shifting hint in square brackets ([ and ]).
 * 3) Either hit Send or give the AI a line on which to begin the new POV.

Doing so, your text should now read like this:

Melissa approached the door, held out her trembling hand, and reached for the handle... [ This is now first Person perspective, from Gary's POV. ] This wasn't the first time I'd hear the door. The AI should now use the new POV. Don't worry - the hint can be removed when you feel confident the AI understands the new perspective without it. In order to avoid confusion, be sure to check your Memory, Author's Note and Lorebook for any entries that refer to the old perspective, then correct them.

Please note that excessively changing the perspective within the Current Context will decrease narrative cohesion, and result in more frequent mistakes made by the AI.

In Euterpe, all you need for POV switching is a simple character tag: *** [ Gary ] This will switch the active character to Gary. Note that this works best for names that the AI recognizes as names.

Custom Pronouns
It should be noted that training material including pronouns outside of those specified above is sparse. As such, the AI will rarely ever refer to any character by pronouns it doesn't associate with the given name.

If you wish to use a custom pronoun, you may encourage the AI to do so by editing its mistakes while hinting the correct pronoun to it in Memory, Author's Note or Lorebook. This may take some reinforcement before it takes, so please be patient.

⬆ Return to Page Top

-

Tenses
Preterite and present - these are both tenses. While some stories may shift about the narrative timeline, it's important to maintain some sense of order and continuity while utilizing tense.

As such, it is strongly encouraged that you decide on whether your Story is set in the past or the present. Consistency will help tremendously.

What about the future?
As a reminder, there is no future tense in English. WILL is a modal auxiliary to talk about future events in the "it is certain, this action happens in the future" way. WOULD is used only for hypotheticals.

This is because WOULD is the preterite (i.e, past) form of WILL. The preterite not only carries the notion of past, but also imaginary and hypothetical actions. As a result, make sure not to use them constantly. Stick to either present or preterite.

Aspect
An aspect is another element of conjugation that works together with tense. There are two: Perfect and Progressive.

Perfect is an aspect which focuses on the result of the action rather than its process. The action may already be concluded by the time it is spoken about. It requires the use of "have" as an auxiliary, followed by the verb in its past participle form.

This implies that you have experience eating crab, and you may do it again. It's not the action that matters, but the fact the action happened before. If you use the preterite form, i.e "had eaten", then you are using Past Perfect, which has a similar meaning but is used to talk about events even further back in time.

Progressive, also known as continuous, is for actions that are currently ongoing, repeated actions, or actions that are about to happen. This usually has connotations of being interrupted by something:

Having the intent to do something:

Or describe an event that happens regularly:

You may know it as the "be+ing" aspect since it uses Be as an auxiliary, followed by the verb with a -ing suffix. This -ing form is also known as a present participle.

You can use the preterite for "Be", turning it into "was" for singulars and "were" for plurals or neutral personal (they). This results in focusing on the effects described above, but in a situation that happened in the past.

You can even combine both aspects into perfect continuous:

This helps underline the length of the action all while focusing on the situation that happens at the end of it.

Modality
Modality is the use of modal auxiliaries to add additional information to a verb.

There is an incredible wealth of uses for these, but we'll address their basic use for the purpose of this tutorial.

Modal auxiliaries in English are: WILL, SHALL, CAN, MAY and MUST. Their preterite forms are: WOULD, SHOULD, COULD and MIGHT. Must has no preterite form.

The preterite works differently for modals. Instead of talking about the past, it makes them weaker.

Modals can be used to carry notions, but also probability. They are placed before both the verb and any auxiliaries it might have:

⬆ Return to Page Top

-

Steering the Plot
Occasionally, you may wish to have the Story progress in a certain direction. There are three methods of steering the plot; using Memory/Lorebook, using the Author's Note, and adding to the Story directly.

What to Write
As always, you should decide whether to use square brackets ([ and ]). Doing so has a tendency to reduce the "presence" of the text that is being added, so that it isn't interpreted as part of the story. Square brackets can be used with any of these methods, and may always be removed through editing later.

Remember to put a space after the opening bracket, and before the closing bracket. Avoid using linebreaks in bracket blocks. It should be a single paragraph.

When using square brackets, it's best to include your hint using shorthand, like:

If you don't use square brackets, you should implement your plot steering as if it were part of your Story, keeping in mind the Memory is kept all the way at the top of the context and the Author's Note appears three newlines before the latest line of the Story by default. Example:

Using the Memory/Lorebook
Although Memory and Lorebook take the lowest priority by default, and are the least effective method of steering the plot unless their insertion points are changed, they can still be used to influence the outcome of events in the Story.


 * Low priority
 * Permanent until removed

Using the Author's Note
Because it takes a higher priority than Memory by default, Author's Note is the second most effective method of steering the plot. Use it with moderation!


 * High priority
 * Permanent until removed

Using the Story
Editing the Story directly is the most effective method of steering the plot, because the last line is always the most relevant to the next Generation.

Please note that the best approach to utilizing the Story directly this way is to match the existing prose. Example:


 * Top priority
 * Will require you to remind the AI later using Memory or Author's note

Why Negation and Denial is Hard
Considering how a GPT model works, it is important to note that stating things in the negative is counterproductive. If a word is in the memory, it is more likely to be used in the output.

To put this more clearly, if you say: Johnathan cannot hear sounds. The AI only sees that Johnathan and hear sounds are close to each other. Cannot does not have much of an effect because of that.

If you have to state something that denies, prevent or forbids, it is better to present it positively, as in, without using negatives: Johnathan is deaf.

Using adjectives that represent denial, prevention or impossibility is better than using not as a verb particle.

Avoid saying: You cannot cross the bridge. Your legs do not work. You may not move until you recover. Instead say: Crossing the bridge is impossible. Your legs are disabled. It is too painful to move. You must recover first.

If you feel the AI has issues dealing with a concept like this, try telling the AI what effects it has, again, trying to avoid negation as much as possible: Johnathan is blind and can only see darkness. Johnathan must use his hearing and touch to locate people and objects. Johnathan's eyes are always closed.

⬆ Return to Page Top