Casual-Autopsy
commited on
Commit
•
30c7366
1
Parent(s):
879ca15
Add Injected CoT RP Tool
Browse filesThe model's spatial awareness and memory aren't that great so it's integral to use CoT.
I've uploaded my CoT QR set that gives the benefit of spatial awareness and memory without response length loss
ST/QR sets/RP Tools - ADN(ICoT) Config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":2,"name":"RP Tools - CoT ADN Config","disableSend":false,"placeBeforeInput":false,"injectInput":false,"color":"rgba(0, 0, 0, 0)","onlyBorderColor":false,"qrList":[{"id":10,"icon":"fa-id-badge","showLabel":true,"label":"ADN - Role","title":"","message":"/buttons labels=[\"system\", \"user\", \"assistant\"] Set role. |\n/let button_output {{pipe}} |\n\n\n/if left=\"{{var::button_output}}\" right=\"\" rule=eq {:\n\t/abort quiet=false Canceled. Aborting.\n:} |\n\n/setvar key=audir_role {{var::button_output}} |\n\n/if left=audir_active right=true rule=eq {:\n\t/if left=\"{{getvar::audir_depth}}\" right=\"\" rule=eq else={:\n\t\t/pass {{getvar::audir_depth}}\n\t:}\n\t{:\n\t\t/pass 0\n\t:} |\n\t/let set_depth {{pipe}} |\n\t\n\t\n\t/echo Set role to '{{getvar::audir_role}}'. |\n\t/inject id=audir_inject position=chat depth={{var::set_depth}} role={{getvar::audir_role}} {{getvar::audir_cot}}\n:} |","contextList":[],"preventAutoExecute":true,"isHidden":false,"executeOnStartup":false,"executeOnUser":false,"executeOnAi":false,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""},{"id":12,"icon":"fa-arrow-down-short-wide","showLabel":true,"label":"ADN - Depth","title":"","message":"/if left=\"{{getvar::audir_depth}}\" right=\"\" rule=eq else={:\n\t/input default=\"{{getvar::audir_depth}}\" Set prompt depth. |\n:}\n{:\n\t/input defualt=\"0\" Set prompt depth. |\n:} |\n/let input_depth {{pipe}} |\n\n\n/if left=\"{{var::input_depth}}\" right=\"\" rule=eq else={:\n\t/if left=input_depth right=0 rule=gte else={:\n\t\t/abort quiet=false Invalid input. Aborting. \n\t:}\n\t{:\n\t\t/setvar key=audir_depth {{var::input_depth}} |\n\t\t/echo Set depth to '{{var::input_depth}}'.\n\t:}\n:}\n{:\n\t/abort quiet=false Canceled. Aborting.\n:} |\n\n\n/if left=audir_active right=true rule=eq {:\n\t/if left=\"{{getvar::audir_role}}\" right=\"\" rule=eq else={:\n\t\t/pass {{getvar::audir_role}}\n\t:}\n\t{:\n\t\t/pass assistant\n\t:} |\n\t/let set_role {{pipe}} |\n\t\n\t/inject id=audir_inject position=chat depth={{getvar::audir_depth}} role={{var::set_role}} {{getvar::audir_cot}} |\n:}","contextList":[],"preventAutoExecute":true,"isHidden":false,"executeOnStartup":false,"executeOnUser":false,"executeOnAi":false,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""},{"id":14,"icon":"fa-skull","showLabel":true,"label":"ADN - Remove","title":"","message":"/flushinject audir_inject |\n\n/flushvar audir_active |\n/flushvar audir_cot |","contextList":[],"preventAutoExecute":true,"isHidden":false,"executeOnStartup":false,"executeOnUser":false,"executeOnAi":false,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""},{"id":4,"icon":"fa-dice","showLabel":true,"label":"ADN - Re-Roll","title":"","message":"/:\"RP Tools - CoT Auto Director's Note.Main\"","contextList":[],"preventAutoExecute":true,"isHidden":false,"executeOnStartup":false,"executeOnUser":false,"executeOnAi":false,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""}],"idIndex":16}
|
ST/QR sets/RP Tools - Auto Directors Note (Injected CoT).json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":2,"name":"RP Tools - CoT Auto Director's Note","disableSend":false,"placeBeforeInput":true,"injectInput":true,"color":"rgba(0, 0, 0, 0)","onlyBorderColor":false,"qrList":[{"id":2,"showLabel":false,"label":"Main","title":"","message":"/let cot_prompt \"[Pause the role-play\n{\nYou've been tasked with creating a story plan;\nConsidering the chat history, fill out the TEMPLATE to create a plan on how to continue the role-play's story;\nONLY OUTPUT THE STORY PLAN AND FOLLOW THE TEMPLATE SYNTAX EXACTLY, NOTHING ELSE;\n\nTEMPLATE:\n- I am {{char}}\n- My body is X Y Z\n- {{user}} is X\n- My special traits are X\n- My body placement is X\n- Me and {{user}} are X\n- My plan: X\n- Known factors: X Y\n- Unknown factors: X Y\n- I might be wrong about: X\n- Plan criticism: X\n- Better step by step plan: X Y Z\n- I will use that plan to continue the story further with slow pacing\n}]\" |\n\n/let cot_prefix \"[CoT\n{\n\" |\n\n/let cot_suffix \"\n}]\" |\n\n\n/if left=\"{{getvar::audir_active}}\" right=\"true\" rule=eq else={:\n\t/pass None\n:}\n{:\n\t/flushinject audir_inject\n:} |\n\n\n/gen lock=on as=system {{var::cot_prompt}} |\n/let cot_output {{pipe}} |\n\n/input default=\"{{var::cot_output}}\" rows=20 Check output. |\n/var key=cot_output {{pipe}} |\n\n\n/if left=\"{{var::cot_output}}\" right=\"\" rule=eq else={:\n\t/pass {{var::cot_prefix}}{{var::cot_output}}{{var::cot_suffix}}\n:}\n{:\n\t/abort quiet=false Empty prompt. Auto Director's Note canceled.\n:} |\n\n/var key=cot_output {{pipe}} |\n\n\n/if left=\"{{getvar::audir_depth}}\" right=\"\" rule=eq else={:\n\t/pass {{getvar::audir_depth}}\n:}\n{:\n\t/pass 0\n:} |\n/let cot_depth {{pipe}} |\n\n/if left=\"{{getvar::audir_role}}\" right=\"\" rule=eq else={:\n\t/pass {{getvar::audir_role}}\n:}\n{:\n\t/pass assistant\n:} |\n/let cot_role {{pipe}} |\n\n\n/inject id=audir_inject position=chat depth={{var::cot_depth}} role={{var::cot_role}} {{var::cot_output}} |\n\n/setvar key=audir_active true |\n/setvar key=audir_cot {{var::cot_output}} |","contextList":[],"preventAutoExecute":false,"isHidden":false,"executeOnStartup":false,"executeOnUser":true,"executeOnAi":false,"executeOnChatChange":false,"executeOnGroupMemberDraft":false,"automationId":""}],"idIndex":10}
|