VioneT

joined 1 year ago
MODERATOR OF
[–] [email protected] 3 points 2 days ago (1 children)

Hello, some data privacy regarding the prompts or 'AI' tools are answered in this comment by the dev: https://lemmy.world/comment/5709061 @[email protected] i'll also ping them just in case.

[–] [email protected] 3 points 1 week ago (2 children)

There seems to be a problem with 'installing' the required packages (something like stdlib) for it on the web, even if the script itself is loaded. @perchance pinging dev so they can take a look at it.

[–] [email protected] 1 points 2 weeks ago

You could use ShareX screen record then upload to Streamable. Can you also provide the thread/chat export that is faulty so I can try to replicate the problem on my end?

[–] [email protected] 1 points 2 weeks ago (2 children)

I'd recommend waiting for a couple of seconds before reloading/closing the page to make sure the image is 'converted/saved' on the chat. I tried clicking the keep then immediately reloading the page (even closing the page as soon as I clicked 'keep'), but it managed to keep the image. Not sure what other factors might affect it saving.

If you could provide a video demo of the problem with the console open, it would be helpful to see if there are problems with the code.

[–] [email protected] 1 points 2 weeks ago
[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

After the declaration of 'odds' any other text after it is invalid e.g.

Ss^0.5 or s
Tt^0.5 || t

If you want a randomized value for that in which Tt has odds of 0.5 to being chosen you could have:

{Ss^0.5|s}

{Tt^0.5|t}

If you want to add 'odds' with HTML formatting, you should place the odds after the items e.g.

<u>Ag^0.5</u>

to

<u>Ag</u> ^0.5

The change in odds should always be on the end of the item.

On your [m = markings6.selectUnique(1,7).joinItems("/")] you are setting the value of m to be the joined items in a string, not the list. To fix it you just need to store it on the variable, then use the joinItems on the variable after: [m = markings6.selectUnique(1,7), m.joinItems("/")]

Then to output the names: [m.selectAll.map(a => a.name).joinItems("/")] in which it would iterate on the markings on m and get their name, then joinItems them.

 

On the editors, you can search/highlight with RegEx (Regular Expressions) however, the matches cannot be iterated, and you cannot replace them. The old editor allowed this (as far as I remember), as well as using the captured groups as replacement ( /(\d+)\.(.+)?/gm can be replaced with $1 - $2 to change the matches 1.Test to 1 - Test).

[–] [email protected] 1 points 1 month ago

The link of your generator is the URL of your page: https://perchance.org/your-url-page

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

I haven't really had a long conversation and multiple topics in one bot, so I don't have much experience in manipulating the bot's behavior.

I would suggest adding a reminder on the character's Reminder Message to steer the AI's response. Another would be using the /ai <reply instruction> method in which you instruct what the AI would reply. You could also probably try to edit the Memories and summaries that the AI generated that it uses in generating the reply and you could check the memory that pushes the AI to reply that way by clicking the brain icon that show up upon hover in the message on the bottom right.

There are a lot more people knowledgeable in telling the AI what to do in the #ai-character-chat channel in Perchance Discord.

[–] [email protected] 1 points 1 month ago (2 children)

@[email protected] - pinging dev for other info that I've probably missed.

 

There is a feature that was recently added which is the 'Edit Password' upon saving a generator that isn't yours (you are remixing another person's generator). It is for recovering/saving an edited generator without logging in (or those users that are having trouble with saving generators since the email verification is having problems).

Steps:

  1. Click edit in the generator you want to edit.
  2. Upon saving, and opt to create a generator (since you can't save a generator to an account since you are not logged in), it would then give out a 'edit password'. Remember/Save this generated string as well as the newly created URL (not the original one).
  3. Later on (as long as the local storage is not cleared) you can navigate again to that newly created page (while still not logged in into an account) then enter the edit password after clicking save to return back/apply your changes to the generator.
A video demo of how it works.
[–] [email protected] 1 points 1 month ago (1 children)

Possibly missing ending quotations?

Before the "negative", you didn't close the quotation then you used a dot instead of a comma in transitioning to the negative

...
"Style Name":{
  "prompt": "...",
  "negative": "..."
},
...
[–] [email protected] 1 points 1 month ago

If you are trying to run the 'ai-character-chat' on glitch, you wouldn't be able to do so. Since AI plugins doesn't work in other domains, only in Perchance. I suggest looking into the OpenCharacters which is Perchance based off of.

 

cross-posted from: https://lemmy.world/post/19286382

There has been a couple of Community Events in Casual Perchance since its implementation via Lemmy World posts.

What kind of events would you like to see or be part of?

Some of the old events were:

  • Generator Jam - like a Game Jam but with generators based on a theme
    • Plain - create a generator that fits the specified theme
    • Useful Generators - generators that can be imported/useful for other generators (i.e. importable lists or plugins etc.)
    • Mad Science - not generators but anything made with Perchance Syntax.
  • Contribute to a Generator - didn't get much traction, like a Generator Jam, but you allow others to give feedback/suggestions throughout the event to the generator you have submitted. (Might change this to just a Feedback/Suggestion Jam, submit your generators for feedback and suggestions and don't require to create a new generator)
  • Image Challenge - Mostly AI Images generated with Perchance text-to-image-plugin based on a theme.

Also, feel free to give any feedback or suggestions about the Community Events. Some more specific feedback/suggestion categories are:

  • Length of Events
  • Type/Content of Events
  • Engagement or Retainability of Participants

Note that you can host your own Community Events, see this post for an explanation.

 

There has been a couple of Community Events in Casual Perchance since its implementation via Lemmy World posts.

What kind of events would you like to see or be part of?

Some of the old events were:

  • Generator Jam - like a Game Jam but with generators based on a theme
    • Plain - create a generator that fits the specified theme
    • Useful Generators - generators that can be imported/useful for other generators (i.e. importable lists or plugins etc.)
    • Mad Science - not generators but anything made with Perchance Syntax.
  • Contribute to a Generator - didn't get much traction, like a Generator Jam, but you allow others to give feedback/suggestions throughout the event to the generator you have submitted. (Might change this to just a Feedback/Suggestion Jam, submit your generators for feedback and suggestions and don't require to create a new generator)
  • Image Challenge - Mostly AI Images generated with Perchance text-to-image-plugin based on a theme.

Also, feel free to give any feedback or suggestions about the Community Events. Some more specific feedback/suggestion categories are:

  • Length of Events
  • Type/Content of Events
  • Engagement or Retainability of Participants

Note that you can host your own Community Events, see this post for an explanation.

0
submitted 3 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

Unexplored Wilderness

Create generators that invoke the wilderness (nature, danger), curiosity (discovery, documentation), and adventure (heading into the unknown, trailblazing), be it fictional or non-fiction.

Make generators with the lines of an odyssey to unexplored regions, mapping the vast reaches of the galaxy, or looking deep within oneself.

When: August 7, 2024 12:00PM UTC to August 28, 2024 12:00PM UTC

Perchance Data

// This Part is Required for the Perchance Hub
// This would be where the Event Organizer would change the data to update the Hub
// Remember to indent with two spaces!

// List About the Event to be displayed on the Hub
metadata
  title = Unexplored Wilderness
  description = Create generators that invoke the wilderness (nature, danger), curiosity (discovery, documentation), and adventure (heading into the unknown, trailblazing), be it fictional or non-fiction.
  type = Generator Jam
  image
    https://lemmy.world/pictrs/image/f3889aca-b153-49a9-a9b0-2079eba7dce3.png
    // Can be multiple pictures to randomize the banner image :)
  start = 07 August 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings
  end = 28 August 2024 12:00:00 UTC+0000
  color = linear-gradient(77deg, #386945, #30aa34)
  rules = Make generators with the lines of an odyssey to unexplored regions, mapping the vast reaches of the galaxy, or looking deep within oneself.

// For Generator Jams with Perchance URL
generators
  // The generator's $metadata is also parsed
  immerse-in-senses
    author = Vionet20
    type = Text
// For Image Events
images		

// You can request a format of other events just ask on the forum!
// Banner Info:
// Generator Used: text2image-generator
// Prompt: a behind the character shot of a small group on high elevation overlooking an unexplored forest region, exploration, adventure, high fantasy, concept art
// Negative Prompt: \[mountains, mountain ranges, high mountains, columns of rocks:0.05\]
// Resolution: 768x512
// Art Style: [Vionet20-Styles] Comic/Manga Illustration

 

Update 4: Fixed
Update 3: It seems that changing the 'src' of the iframe of the embedded seems to apply the changes. Clicking on the 'Go to Event' buttons on the home tab seems to revert the page to its previous versions. A video recording of the problem.
Update 2: Can confirm that the changes are reflected after a couple of minutes, for now.
Update: The embedded page has now reflected the changes. Will monitor if any other changes are immediately (or at least after a little bit of time) reflected.

I'm posting again to re-open a previous bug.

Previous Post: https://lemmy.world/post/15639946

Currently, the /hub where the /hub-events is embedded to, doesn't have the updated /hub-events page.

I've updated the code in the /hub-events last July 25. But currently, the change to it isn't reflected on the embedded /hub-events on the /hub at the Events tab.

Last time, it updated itself after a few minutes, but now two days have passed it hasn't updated yet.

 

I've been made aware that the code I've written to access text-to-speech from ElevenLabs API is no longer working.

I've tested it and it seems that the CORS-Proxy that is being used in ai-character-chat currently doens't allow POST methods (which is being used to 'post' the text to be 'spoken' in ElevenLabs).

Not a major/priority issue but might be nice to be fixed. I also wonder how many are using text to speech (even just using the Speech Synthesis code) in the ai-character-chat....

 

On the ai-text-plugin, there is a way to get the inputs that were sent to the AI using the onStart(data) function:

onStart(data) - the code you put in this will run at the start of the generation process. You can access the inputs being used with data.inputs.instruction, data.inputs.startWith, etc.

I am wondering if we could also get the same for the text-to-image-plugin?

It can be either on the onStart(data) or on the onFinish(data) in which we can get the inputs/static values that were used for the response of the AI e.g. data.inputs.prompt, data.inputs.negativePrompt, etc.

With this, some features that can be implemented is a local history of past generations, in which the previous inputs were temporarily stored in the storage (or on the local storage so even if the page reloaded, the history is saved), then the users can revisit the previous generations (I have set up something similar like this on my text to image generators but they have some hacks to work).

This is not really a priority but might be good to have. Thanks!

 

Welcome to the Perchance Community!

Perchance.org is a platform for sharing and creating random text generators.

This Lemmy community is for:

  • Asking for help with problems, issues, or requests about generators in Perchance
  • Sharing and showcasing your created generators, templates, plugins, or pages in Perchance
  • Starting friendly discussions about topics related to Perchance
If it is your first time in using Lemmy, please check out this message from Lemmy.World and the Support Page from Lemmy.World to get started on using Lemmy.

Posting from Mastodon

Feel free to checkout this post to know how to post in this Lemmy Community through Mastodon.

Other Community Links

Rules

Here are some rules in this community:

  • Please follow the lemmy.world instance rules.
  • 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 :)
  • Be thankful to those who try to help you.
    • If you ask a question and someone has made an 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 :)
  • Only post about stuff related to perchance.
    • Please only post about perchance related stuff like generators on it, bugs, and the site.
  • 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.

Posting

Here are some optional tags to add in your title to categorize the posts. These are merely tags, you still need to title your post effectively.

  • [Bug] - if you think you find any bug in Perchance, use this tag.
  • [Question] or [Help] - this is to denote that your post is a question or requesting for help
  • [Suggestion] - for any suggestions in Perchance
  • [Feedback] or [Appreciation] - for any feedback or appreciation to any generator or to Perchance in general.
  • [{Generator Category}] - Used to share any generator with the specified category
    • Text, Image, Template, Hub, Plugin, Preprocessor, Community/RP, Game, Experiment, Useful Generator
  • [Fluff] or [Non-Generator] - Non-generator posts but about Perchance
  • [Tutorial] or [Guide] - for any Perchance related tutorials or guides to help others

AI Plugins Posts

Here is a FAQ for the AI tools in Perchance.

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-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"

There are guides, tutorials, and resources on the internet that can be applied when prompting in the AI tools in Perchance.

We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

If you need help in prompting, please post on the 'sister' forum at Casual Perchance

Getting Started with Perchance

To get started with Perchance, check out the Perchance Tutorial or the Beginner Tutorial at the Perchance Hub Learn Tab to get to know the website.

Asking for help

Feel free to ask for help but please check out these tips on searching for an answer:

  • Check the following pages, to see if your question has already been answered or talked about or a plugin has been made for it. We recommend using the browser's search function (ctrl+f) and searching for similar keywords to your question/problem.
  • If you didn't find anything about your problem there, feel free to search through the posts/articles here:
  • If you can't still find anything related to your problem, feel free to post a thread here.
    • Please title your post effectively.
    • Please provide a link to your generator with your attempts of solving the problem.
    • Try to explain what you want it to do and what example output it should be doing.
view more: next ›