SillyTavern-Presets / Prompts /ChatML /v1.7 /[ChatML-Context]Roleplay-v1.7.json
Virt-io's picture
Fix ChatML context formatting thanks to @SerialKicked
a432289
raw
history blame
No virus
1.26 kB
{
"story_string": "<|im_start|>system\n\n{{#if system}}{{system}}\n\n\n<!-- Start of Role-play Context -->\n\n{{/if}}{{#if scenario}}### Main Scenario\n{{scenario}}\n\n{{/if}}{{#if wiBefore}}### Extra Information\n{{wiBefore}}\n\n{{/if}}{{#if personality}}### {{char}}'s Persona\n{{personality}}\n\n{{/if}}{{#if persona}}### {{user}}'s Persona\n{{persona}}\n\n{{/if}}{{#if mesExamples}}### {{char}}'s Example Dialogue\nThe following examples illustrate {{char}}'s unique dialect and speaking quirks. Study them to gain a deeper understanding of their personality, but be sure to incorporate these traits in a way that feels authentic and nuanced, rather than simply copying them verbatim.\n\n<!-- Start of {{char}}'s Example Dialogue -->\n{{mesExamples}}\n<!-- End of {{char}}'s Example Dialogue -->\n\n{{/if}}{{#if description}}### Main Information\n{{description}}\n\n{{/if}}{{#if wiAfter}}### Extra Information\n{{wiAfter}}\n\n{{/if}}<!-- End of Role-play Context --><|im_end|>",
"example_separator": "",
"chat_start": "",
"use_stop_strings": false,
"allow_jailbreak": false,
"always_force_name2": true,
"trim_sentences": false,
"include_newline": false,
"single_line": false,
"name": "[ChatML]Roleplay-v1.7.json"
}