L3-Super-Nova-RP-8B / ST /QR sets /RP Tools - Auto Directors Note (Injected CoT).json
Casual-Autopsy's picture
Add Injected CoT RP Tool
30c7366 verified
{"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}