view the rest of the comments
Perchance - Create a Random Text Generator
⚄︎ Perchance
This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.
Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)
This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.
See this post for the Complete Guide to Posting Here on the Community!
Rules
1. Please follow the Lemmy.World instance rules.
- The full rules are posted here: (https://legal.lemmy.world/)
- User Rules: (https://legal.lemmy.world/fair-use/)
2. Be kind and friendly.
- Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)
3. Be thankful to those who try to help you.
- If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)
4. Only post about stuff related to perchance.
- Please only post about perchance related stuff like generators on it, bugs, and the site.
5. Refrain from requesting Prompts for the AI Tools.
- We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (
text-to-image-pluginandai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?" - See Perchance AI FAQ for FAQ about the AI tools.
- You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
- We will still be helping/answering questions about the plugins as long as it is related to building generators with them.
6. Search through the Community Before Posting.
- Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.
Thanks for responding, I appreciate it. Long time programmer, literally first time interacting with any ai outside of a voice mail system.
Okay, I had that much right so thanks for confirming.
Here’s where I’m getting stuck: at this point, I’ve set up a very simple scene where Anon, Jim, and Bob are seated at a table in a diner. Jim and Bob’s character descriptions both include liking knock knock jokes.
I’m in a chat with Bob#1 and I add Jim#2 just as described.
I want to tell Jim a knock knock joke.
If I just feed “Knock knock” into the prompt, Bob answers “who’s there”. No surprise there, it's a chat with Bob.
How do I tell Jim the joke?
If I feed
/ai @Jim#2 “Knock knock”
into the prompt, I have instructed the ai to have Jim say “Knock knock” and the ai fleshes out a response that does just that.
How do I say “knock knock” and have Jim answer with “Who’s there?” without explicitly having the ai make Jim say “Who’s there”?
What I have been doing is this:
/ai @Jim#2 I say “Knock knock” to Jim
and this works, Jim responds with “Who’s there”.
Is that the best way to do it or am I overlooking better syntax? Thanks very much for the help!
Hi, i found a little workaround for that. well kinda.. in the Character Description i created a link for multiple char's, actually i'll just paste the code for you here. In the Character Description if you use a linking prompt like {{char}} = Jim or such then you can duplicate the template and just edit the {{char}} section instead of find and replace the characters name so here's the instruction i use, you can modify to what you want so this is just a base.
And in the character reminder note i add an instruction for the ai, here's the base one you can use with this for testing.
Then the initial Chat Message i just shlap in.
Try that and see how it goes.
I forgot to add this, another Character Description Instruction for coding
Its a handy lil small character i use for code chats
Wow, thank you! That's going to take a day or two to take apart and understand what it's doing. I very much appreciate the time you put into that answer.
No problem, its a bit awkward but I'll give you a quick start. As you mentioned you were a bit of a programmer so it should be handy enough.
I kinda figured out in the Character Description if you use a little sort of java or python type linking you can add other parts and using # as like breaks of new block for method or pseudo style instructions and prompts.
so for the start i use
{{char}} = jimto link the character{{char}}to the name. Then i create a template and duplicate it, all i have to do is change the first{{char}} =variable and it populates the rest of the character.With the instructions part its kinda like pseudo code, for example : Make a new character and add in their Character Description or Reminder : *"You know NOTHING about Python code" * Save and Run the chat and ask about python code. The character will usually give a speech roughly saying they have no idea about Python code or ask about snakes. Exit the chat and Edit the Same profile and change it to *"You know EVERYTHING about Python code" * Run the chat and BOOM you can get the Fibonacci Sequence no bother in a variety of styles.
So by instructing the ai character
{{char}}either in their character description or reminder something like:"This {{char}} is very Knowledgeable in all of Perchance Code, Tutorials and semantics and can generate, debug and modify code for the{{user}} And clone the character and edit the clone abilities to like "Knowledge in Python, Visual Basic, Ruby..."and so on.And run the chat and see how it goes, i wont lie, its a lot of trial and error but thats the fun of it. Oh with the Superfetch and CORS bypass, a great way to double check access is to give a sample url like :
When you paste it like above it shows just the URL hyperlink but the ai reads the url and depending on if they checked it or not, they can spin a story up about the url by the title. So do the same again but with a template perchance generator with a random jumbled url and do the same and see does the ai read the code or just try to baffle you with bullshit with the title 😁