Comment on
Fire Alarm Bot?
This is the only thing I found https://perchance.org/ai-character-chat?data=Fire_Alarm_Bot%7Ed98b51aee62731fb6a421b46aae1485c.gz
Comment on
Fire Alarm Bot?
This is the only thing I found https://perchance.org/ai-character-chat?data=Fire_Alarm_Bot%7Ed98b51aee62731fb6a421b46aae1485c.gz
Comment on
nested plugin: does anybody know how to reference the currently selected node in a different place on the page?
Now to your main problem: Afaik, perchance objects are static and don't save their state when they're evaluated. You have to inspect the DOM with JavaScript and traverse the parent elements to gather all descriptions. At least that's how I got it https://perchance.org/ah70cbqlqk#edit
I'm not really good at explaining, please ask if something is unclear. What I've done in the example is, I've overwritten the javascript onclick handler defined in the nested-plugin. This onclick handler is executed when expanding a header element. This allowed me to inspect the DOM that was generated through the nested-plugin. If the currently expanding element is a leaf, it traverses each parent header element and extracts the description of it and overwrites the content with all gathered descriptions.
Comment on
*Permanently Deleted*
Reply in thread
It actually got updated recently. It's now using Fast bigram-based approx token counter. Not an AI guy and no clue what that means, but it's not the old "count/3.6" method anymore :D