Experts' AI Tips

'''This page was conceived during the Euterpe Era of NovelAI. Some tech here might not be relevant anymore, but some tips can still be useful. Refer to The Rabbit Hole (Clio) For the current model.'''

= Experts' AI Tips =

This page contains community-researched content and aims to provide in-depth tips to improve your experience with the AI.

This is an expert guide. There will be much less hand-holding from now on. Terms and tools will not be explained if they were defined in the feature pages and Advanced Writing, so ''make sure you have fully read these two pages before continuing.

-

The Importance of the Final Token
Regardless of what is in the rest of your context, the absolute final token is by far the most important to the generation. Previously, in Advanced Writing, I explained that you can lead the AI into different directions depending on your phrasing. This section is an extension thereof.

Consider the following example:

The text ends on a period, which ends the sentence. There is nothing after it. As a result, the pool of potential continuations to this sentence can get rather large.

Most of the time, when people say that "The AI is going into random directions!", this is often a symptom of ending your input like this.

Now, consider this alternative:

This will put the onus of the next sentence on Bryan. He will be forced to act, think, or say something, as he refers to Bryan by virtue of proximity. This can help direct the AI rather well, especially if your generation length is rather low. At longer generation length, the AI can get a little offtopic with a small context.

Now try something akin to this:

This opening quote here will forcefully initiate dialogue. It may be from Bryan, but it has a chance to come from another character entirely. Usually this sticks to the latest named person, but has a chance of relying on another previously named character as well.

Let's talk about newlines now. Look at this example:

What we did here is create a linebreak. Linebreaks are powerful tools which I'll explain in another tip section. The important part is that this creates a, well, break in the text, which pushes the AI to move on to something else. It can be moving forward in time, changing speaker, changing scene, and many other things.

Here is a thing you should avoid as much as possible, though:

Can you see the problem here? No? Look closer. See the spaces at the end?

If you go to your Account Settings, you'll find an option called Trim Trailing Spaces. You should absolutely enable it, but even if it is, multiple spaces might not be trimmed. So why is that a problem?

A lot of tokens are words that start with a space. if you end on a space, the AI might trip over itself because it is struggling to find a word to start with, and a lot of continuations will behave erratically, such as suddenly inserting newlines, or using words that aren't connected to the current clause. Avoid trailing spaces as much as you can!

The conclusion here is that you should initiate for the AI as much as possible, even if it's using a single symbol to do so. Any sort of hand-holding helps the AI stay on track much better than leaving it to its own devices and expecting it to guess what you want. (Hint: it won't.)

⬆ Return to Page Top

-

Typography Symbols
Ah, Typography, the study of... Fonts? Printworks?

Perhaps so, but there's also the wealth of Symbols used in books that we can make use of.

Basic Symbols
Let's starts with the basics. English mostly uses 7 punctuation marks.


 * The Period ( . ) symbolizes the end of a sentence.
 * Good for concluding dialogue, as it tends to generate an end quote if you finish on one.
 * Good for making the AI talk about something slightly different, or push it to continue the scene.
 * Good for ending lists or paragraphs.


 * The Comma symbolizes the end of a clause, or an item in a list.
 * Good for asking the AI to continue on a very similar track. Less of a push-forward effect than the period.
 * Good for setting up and continuing lists.
 * Good for keeping the current speaker in dialogue.


 * The Colon symbolizes the introduction of a name, an example or a list, or separates the speaker from the dialogue.
 * Good for theatrical or chat-like writing where the speakers are clearly labelled.
 * Good for chapter titles, sub titles, and any other header.
 * Good for beginning a list or answering a previously asked question.


 * The Semicolon is uncommon and mostly used to separate large clauses that are all subordinate to the same one, such as long items in a list.
 * Good for separating large elements in a list, especially with incomplete linebreaks (just pressing enter once).
 * Good for code, too, since a lot of languages use semicolons.


 * The Ellipse ( ... ) symbolizes a trailing sentence, thoughtfulness, etc. Generally, incompleteness, or interruption.
 * Good to have someone trail off during their dialogue, or to sound like they're nervous or stammering.
 * Good for ending a paragraph thoughtfully... or leading straight into a surprise, sometimes!


 * The Interrogation Point ( ? ) is for asking questions.
 * Good for dialogue, as it tends to either ask another question for emphasis, or switch speakers to get an answer.
 * Good for getting more information from the AI about whatever the question is about.


 * The Exclamation Point ( ! ) works exactly like a period but has a strong tonal effect.
 * Good for switching the tone to something "louder", making characters scream, get upset, so on and so forth.

Whitespace
This is basically any character like spaces and linebreaks.


 * Single Spaces should be kept away from the end of your text.
 * This is because a lot of tokens start with a space included inside them. Leaving a dangling space means that the AI needs to find another token, which might be very difficult depending on your settings, and can result in strange stuff being generated.
 * Dangling spaces can be trimmed with a toggle you can find in your Account settings.
 * Unbreakable Spaces [ALT+NUM2,NUM5,NUM5] are automatically converted to normal spaces.


 * Incomplete linebreaks, as in, a linebreak that does not create a full blank line.
 * Good for AI 'push-forward' without going too far. Stronger than a single period.
 * Good for creating a split between two speakers in dialogue.


 * Full Linebreaks, as in, a linebreak that creates a single, full blank line.
 * Avoid those as much as possible unless going for special formatting. Their effect on writing quality is noticeable.

Other Symbols
These are used more specifically in NovelAI due to how its finetune is prepared.


 * Parentheses are used to denote side comments or side thoughts.
 * These can change the writing style a little, but make sure not to abuse them.


 * Brackets [ ] in NovelAI are a little special because they are banned from generation by default. They can be used as markers for notes outside of the main text.
 * Keep in mind that you need to put spaces after opening brackets and before closing brackets for them to work properly.
 * Usually found at the beginning of chapters, square brackets can be used to set the scene, as in '[ London, 1820 ]'.
 * They can be used to easily switch the protagonist mid-story, if you insert the name of the character in brackets on a new row, as in '[ John ]'.
 * They may also be used to influence the direction of the story or give details — think stage directions — though this is not the intended usage.


 * Curly Braces { } are usually used in code and very uncommon in anything that isn't math or computing related.
 * Thus, you can use them to talk about those subjects.
 * They are used for "strict" token selections for Ban Token and Phrase Bias.
 * Snek uses them extensively to generate Python code.


 * Bullet Points • are used to mark elements of a list. One per line.


 * Single dashes ( - ) are used for discrete lists.
 * Very practical if you want to present neatly indented lists.


 * Less Than and More Than <> are used in the finetune to encase telepathic communication, or thoughts.
 * As such, you can use them to denote when a character is thinking.


 * More Than ( > ) When used to start a new row, > denotes text and computer console messages. This usage is more effective in Euterpe than in Sigurd.


 * The hilariously named Dinkus ( *** ) is a symbol used to denote a section break in a text.
 * Consider it as powerful "break from current scene" device.
 * Often interpreted as a time skip or even a switch to a different character, depending on the preceding text. Experiment.


 * Asterisms (⁂) are a symbol used to separate sections of a single text, but for NovelAI, it's used to separate whole texts.. It is also the symbol used if you append a Preface to your text.
 * As a result, it has a very strong "breaking from current scene" effect.
 * Note that an asterism is almost always followed by square brackets in the data (containing the story title etc) and as such this does not function well when the bracket ban is enabled.


 * Horizontal line ( ─ ) is used for LitRPG format, such as stat blocks and MMORPG style skills.
 * Note that this heavily influences the output, usually making the protagonist aware that they're in a game-like world.


 * Em space (   ) is used for poetry and lyrics.
 * Simply starting a new row with this will typically generate a poem. More effective in Euterpe than in Sigurd.

⬆ Return to Page Top

-