Prompt Template
Reorder what the model sees, block by block.
Every request is assembled from blocks: prompts, character data, lore, persona, chat history. The prompt template editor reorders them by dragging.
No template means the default order. The template only exists once you customize it, and removing it restores the default.
Slot blocks stand for engine-provided content: main prompt, persona, lorebook, system prompt, and prefill. They render whatever those systems produce at request time.
Plain blocks are your own fixed text with a role of your choice, macro-expanded like everything else.
The chat history marker places the conversation itself. Blocks above it are pre-history, blocks below are post-history.
The default assembly order is:
main prompt
lorebook entries
character blocks
persona
system prompt
example messages
[chat history]
post-history instructionsLeading system messages are hoisted into the request's system parameter unless the preset disables the system role.
Move the lorebook slot below character blocks when lore should override character facts. The later a block, the more the model weighs it.
Use the dry-run inspector in the chat actions menu to preview the assembled prompt without spending tokens.