-
-
Notifications
You must be signed in to change notification settings - Fork 151
@ Syntaxes
@ Syntax is Syntax in Risu to provide special effects in prompts. Each type of @ syntax works only in a specific part of the program.
"Impersonator" type of syntax can be used on main prompt, jailbreak prompt and global notes.
this syntax sets role of the prompt, which makes ai thinks the role has inputed the prompt. to use, put the @@@ on top of the prompt.
example:
@@@system
Assistant must act as SomeThing,
and must follow the rules.
@@@assistant
Ok, I understand, here is the output:
Sets role as system.
Sets role as assistant.
Sets role as user.
"Put at the end" type of syntax can be used on lorebook.
this syntax makes the prompt as "end of the whole prompt", which makes the prompt's effect stronger. to use, put the @@@ on top of the prompt.
example:
@@@end
{{char}} is a male, who likes {{user}}
makes the prompt as "end of the whole prompt"
"Regex Effects" Makes the Effects on Regex.
sets the emotion display to <name>
If regex doesn't have a match, it copys the match from previous prompt
<pos>
determines the positon of the prompt. it can be: end
, start
, end_nl
, start_nl