mirror of
https://github.com/doolijb/serene-pub.git
synced 2026-07-10 00:08:25 +00:00
No results
3
Configuration
Jody Doolittle edited this page 2025-07-11 20:48:56 -07:00
Table of Contents
GitHub Repo • Wiki Home • Downloads • Issues
⚙️ 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
📚 Getting Started
🧩 Usage
🛠️ Development
📄 Serene Pub on GitHub
🛡️ Licensed under AGPL-3.0 | © 2025 Serene Pub Contributors
🐞 Found a bug? Report it here
💬 Join the discussion in the GitHub Discussions