Skip to content

What are Notes?

l i o n edited this page Apr 27, 2021 · 2 revisions

Some Context

Back in the original Simple Context there were commands called /think and /focus which would inject a small note into the context at different positions. They were meant as an improvement to the often ineffective Remember function provided by vanilla AI Dungeon. While those commands worked well, they were also quite limited especially in comparison to something like EWIJSON's ability to inject information anywhere into the context. In comes Simple Context 2 with Custom Notes.

Why Notes Are Useful

At its core, a note is simply a piece of information sent into the context to help steer the AI. Notes can be writing instructions, character details, a history of past events, or anything really. They can be placed further down in the memory for a more subtle effect or right at the front to force a specific outcome. You can save lists of them into scenes for later use or attach them to characters, locations, or anything else. There is no limit to how many you can make or have active at the same time or even place in the same position.

Using Notes

A new note can be created by typing a plus sign + followed by a unique label for the note (ie, think or 🧠), a colon :, and then the text contents of that note. There's also an optional indicator (hashtag # and a number) for how far back from the user input (front of context) the note should be injected, measured in total characters (rounded to whole sentences).

Put all together, the structure looks like +LABEL#POSITION: TEXT

Examples
+🧠:100:This is my focus text
+think:This is my think text
+☁ Cloudy:600:This is some weather text 
+🎬 Chapter 1:This is some scene text
+AN:Author's note: This story is all a dream

Hiding Notes

Active notes will appear as a UI element at the top right of the screen. You can create a hidden note by adding an exclamation point ! before the colon :

Creating a hidden note

+Shhh Secret Info!: There is a monster stalking you

An existing note's visibility can also be toggled in much the same way. Simply type + and the note's label followed by ! such as +Shhh Secret Info!

Context Positioning

By default a note without a position specified will be placed at #300 which is roughly 300 characters after the user input. Editing the position of an existing note can be accomplished by calling the command again with a different position number (no need for the hashtag #):

Changing a note's context position

+🧠:234
+🎬 Chapter 1:675

You can also hoist the injected note to the very top of the context.

These notes stick to the front

+🧠#-1:This will be at the top.
+😀#-20:This will be above the -1 entry (the very very top).

Editing and Removing Notes

Changing the content of an existing note is done by re-entering the full command with different text:

Changing a note's contents

+🧠:This is my NEW focus text

Removing a note is quick and easy. Just type + and the note's label without anything else:

These notes are removed

+🧠
+think
+🎬 Chapter 1

Beyond Notes

Creating and using notes is at the heart of Simple Context 2 as they can be found in everything from Scenes to Entries and beyond! On the next page we'll cover the basics of using Scenes to create collections of notes.


Dressing the Scene ➡

⬅ Overview

Reference

Getting Started

  • Overview
  • What are Notes?
  • Dressing the Scene
  • Building Your First Entry
  • Importing World Info
  • Debugging and Configuration
  • FAQ and SC1 Migration

Intermediate Usage

Scene and Perspective

  • Global vs Scene Notes
  • Prompts and
  • Swapping Character Control

Entries and Relations

  • Main, Seen, Heard, Topic
  • Entry types
  • Aspects
  • Soft Links
  • Family, Pronouns, and Zombies
  • Trailing and Persistent Notes

Advanced Usage

Power User Features

  • Shortcut Commands
  • Custom Titles
  • Formats and STOP Words
  • Regex Keys
  • Advanced Debugging

Behind the Curtain

  • How Entries are Weighted
  • Modifying the Script

Clone this wiki locally