From 22e3c25e126cfc8daa4409a0d0fbb825b8d72df5 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:06:19 +0300 Subject: [PATCH] Doc string for bias --- public/scripts/templates/macros.html | 1 + 1 file changed, 1 insertion(+) diff --git a/public/scripts/templates/macros.html b/public/scripts/templates/macros.html index dd163197f..9cdd811c8 100644 --- a/public/scripts/templates/macros.html +++ b/public/scripts/templates/macros.html @@ -5,6 +5,7 @@ System-wide Replacement Macros:
  • {{input}} - the user input
  • {{time}} - the current time
  • {{date}} - the current date
  • +
  • {{bias "text here"}} - sets a behavioral bias for the AI until the next user input. Quotes around the text are important.
  • {{idle_duration}} - the time since the last user message was sent
  • {{random:(args)}} - 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.
  • {{roll:(formula)}} - rolls a dice. (ex: {{roll:1d6}} will roll a 6-sided dice and return a number between 1 and 6)