Perchance Ai Assistant
Perchance Ai Assistant

perchance.org
Kustom Perchance Ai Assistant V1 1 ― Perchance Generator

Made this basic Perchance Helper for anyone who wants to try. Its just got basic design and imports so you can modify it all you want.
Hi! Seems promising, however....
I went to your site (PC Firefox, Windows, 1920x1200, not logged in, advert bar at the bottom. PC Chrome logged in, no advert bar) and entered 'what is $root?' in the chat-input.
It starts to come up with an explanation, but when the output field fills the chat-messages, it removes the explanation and displays 'Sorry, I encountered an error. Please try again.', seemingly when finalizing the explanation. I tried it 3 times with 3 times the same result in both browsers.
Furthermore:
Love the idea, so don't get discouraged, as I think something like this will be a great help!!
Thanks for the feedback, Danno — really appreciate the detail.
Just a couple of quick ones from my end: Using different browsers? I'm not sure what you meant but if you just use a default browser like *Thorium *or Brave without any plugins or extensions and use that for a sandbox could be a bit easier than swapping thru multiple ones as i wrote in notepad and uploaded it and then used their
ai-text-plugin
to populate the responses.You mentioned $root. ..were you thinking in Linux terms? In Perchance context, that’s not a typical variable. The *$root *you mentioned isn’t part of standard Perchance syntax, so the assistant likely didn’t know what to do with that.
Markdown rendering is still basic here, true. Did you try using backticks like
code
or triple blocks for full snippets? I wrote the code as small as possible so Its intentionally minimal for now.The AI will format code if you ask it clearly *(e.g. “Can you explain how to use [[list]] with .capitalize?”), *but I’m still working on adding persistent parsing for code snippets.
I might improve that parser later with something else because its using the Perchance built in ai helper and as you see from the editing windows the left window "Lists" is a mix of javascript and custom api so it all depends on how Perchance ai is understanding you.
Did you get a chance to read the description or peek at the source? It’s intentionally a “barebones” helper — meant to be editable, designed for users to modify.
It’s a skeleton helper, not a full deployment not production-ready just meant as a wireframe template with minimal code.
*Still, cheers for the tests, your notes are helpful , it’s honestly useful knowing what people run into. thanks again for testing it out * 😀
Hi!
I'm using either Chrome or Firefox on Windows PC, straightforward, no VPN/Sandbox, or any other tool (maybe stupid Windows notepad to save snippets). Both browsers ran into the same issue, however, in the version I just tested, the chat responses seem to work now. FYI, I've never heard of either Thorium or Brave browser. I use Chrome, Edge, Firefox and for very old stuff Palemoon, on occasion Vivaldi (which is Chromium). So, no Linux.
Regarding 'what is
$root?
', it is a global variable inside Perchance, just like$meta
. As you can see, Perchance AI-text-plugin understood perfectly what I meant. This is what your AI helper has to say about it (and I have no better explanation myself):However, the chat-reply shows the three back-ticks of the MD code, not a marked down snippet like here in Lemmy. What's your intention with the markup of the code snippets? Show the code examples properly marked down or have the user copy the code and paste it to get a better view? It's not clear to me, something like the below is not really workable, esp. on smartphones (which I personally don't use to code):
A 'regular Perchance user' (none-programmer, that is) has no clue that they are about to use a 'bare-bones' generator when reading the below intro-message, heck as a developer I didn't:
Maybe adjust that with a better explanation, not everyone will enter edit-mode to check out the code (initially I didn't either, not until you suggested it in your comment).
Closing, I am not sure what this is about, the error occurs when the chat-reply finishes: