Skip to content

Configuration

Jody Doolittle edited this page Jul 12, 2025 · 3 revisions

Serene Pub

GitHub RepoWiki HomeDownloadsIssues

⚙️ Configuration

Context Configuration

Uses Handlebars-style templates to build prompts:

{{#systemBlock}} ... {{/systemBlock}}
{{#each chatMessages}} ... {{/each}}

Blocks

All content must be wrapped in blocks for correct prompt compilation.

  • {{#systemBlock}} ... {{/systemBlock}} - Generates a "System" block or "system" role chat message that contains all of it's children. This block typically contains the primary instructions and information about your chat and characters.
  • {{#assistantBlock}} ... {{/assistantBlock}} - Generates an "Assistant" block or "assistant" role chat message. These blocks represent a single AI's turn in the conversation history.
  • {{#userBlock}} ... {{/userBlock}} - Generates a "User" block or "user" role chat message. These blocks represent your turns in the conversation history.

Insertions

  • {{{currentDate}}} - If Lorebook History is in use, currentDate represents the "latest" history entry. I.E. 123-04-05
  • {{{instructions}}} - Inserts your System Instructions, configured in the Prompts control panel.
  • {{{characters}}} - Inserts JSON formatted details for all characters in the conversation. Activated Character Lore will be appended to each characters information.
  • {{{personas}}} - Inserts JSON formatted details for your persona. Activated Character Lore will be appended to the persona's information.
  • {{{scenario}}} - Inserts your character's scenario (only in 1:1 chats) or chat defined scenario.
  • {{{worldLore}}} - Inserts all activated World Lore entries from the lorebook.
  • {{{history}}} - Inserts all activated History entries from the lorebook.
  • {{{wiBefore}}} - (NOT IMPLIMENTED) - Inserts additional information from the current replying character such as example dialogue.
  • {{{name}}} - (Only inside of {{#each chatMessages}} loops) Inserts that messages character name.
  • {{{message}}} - (Only inside of {{#each chatMessages}} loops) Inserts that messages content.
  • {{{wiAfter}}} - (NOT IMPLIMENTED) - Inserts that character's post-history instructions.

Prompt Configuration

Define tone, style, detail level:

Describe all actions in full, elaborate, explicit, graphic, and vivid detail...

Troubleshooting

  • Adjust context tokens
  • Preview prompts via statistics
  • Clone templates before editing

Clone this wiki locally