mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-15 18:59:07 +01:00
5848ec498b
* Kobold Presets fixed * Help texts fixed * Scale API for connectAPISlash * Quick Reply checkboxes fixed * New Instruct Mode Presets * More date/time macros * ChatML context template and instruct prompt format * Mistral context template and instruct prompt format * Removed use_default_badwordsids from kobold presets * Renamed ChatML to Mistral-OpenOrca (ChatML) * Renamed Mistral-OpenOrca (removed ChatML) * Removed single_line from kobold presets * Removed obsolete use_stop_sequence setting * Ban EOS Token off by default * Split AI Resp. Conf. in global and preset-specific settings * Resolve conflicts * Fix title * Add translations for new help texts * Fix i18n.json whitespace * Make Mistral-OpenOrca system prompt more generic * Renamed "Mistral-OpenOrca" to "ChatML" again * More (UI) fixes and improvements * Sendas hint fixed --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
18 lines
1.8 KiB
HTML
18 lines
1.8 KiB
HTML
System-wide Replacement Macros:
|
|
<ul>
|
|
<li><tt>{{user}}</tt> - your current Persona username</li>
|
|
<li><tt>{{char}}</tt> - the Character's name</li>
|
|
<li><tt>{{input}}</tt> - the user input</li>
|
|
<li><tt>{{time}}</tt> - the current time</li>
|
|
<li><tt>{{date}}</tt> - the current date</li>
|
|
<li><tt>{{weekday}}</tt> - the current weekday</li>
|
|
<li><tt>{{isotime}}</tt> - the current ISO date (YYYY-MM-DD)</li>
|
|
<li><tt>{{isodate}}</tt> - the current ISO time (24-hour clock)</li>
|
|
<li><tt>{{datetimeformat …}}</tt> - the current date/time in the specified format, e. g. for German date/time: <tt>{{datetimeformat DD.MM.YYYY HH:mm}}</tt></li>
|
|
<li><tt>{{bias "text here"}}</tt> - sets a behavioral bias for the AI until the next user input. Quotes around the text are important.</li>
|
|
<li><tt>{{banned "text here"}}</tt> - dynamically add text in the quotes to banned words sequences, if Text Generation WebUI backend used. Do nothing for others backends. Can be used anywhere (Character description, WI, AN, etc.) Quotes around the text are important.</li>
|
|
<li><tt>{{idle_duration}}</tt> - the time since the last user message was sent</li>
|
|
<li><tt>{{random:(args)}}</tt> - returns a random item from the list. (ex: {{random:1,2,3,4}} will return 1 of the 4 numbers at random. Works with text lists too.</li>
|
|
<li><tt>{{roll:(formula)}}</tt> - rolls a dice. (ex: {{roll:1d6}} will roll a 6-sided dice and return a number between 1 and 6)</li>
|
|
</ul>
|