Conversation
|
@macrosoft I would just like to mention a custom script that does something similar #1433 |
|
@ClashSAN That custom script does something completely different. |
|
Yes, in fact, this is an little addition to the prompt editing feature. |
|
Looks like a great feature, and I think it getting in depends on the dev's plans for use of the | in the future. or possibly including more items |
|
Prompts "photo of [cow|cow|horse|horse]" and "photo of [cow|horse|bird]" should now work. |
|
There is a guide on how to create a custom script. Could you add this a custom script instead? The sample output you posted looks amazing, I hope I can try that! |
|
I don't know how to get access to the prompt scheduler in a custom script. The prompt scheduler is hidden very deep. Changing the syntax is not a problem. But even now, thanks to the "|" the syntax has no ambiguity with "attention" and "prompt editing", which also use square brackets. |
|
@Sor3nt Yeah, but this way is a bit more convenient. |
@macrosoft A nice workaround might be to make a custom script that simply does a text transformation from your syntax to the already-existing one that @Sor3nt showed above. That would make it easy to use, opt-in, and avoid reaching into the internals to access the schedule directly. |
|
@guill thanks for the idea. |
|
@macrosoft lol. I guess since it is a part of the main repo no, |
|
Info on this should likely be put into the Features page. |


The ability to alternate words in the prompt.
For example: national geographic photo [parrot|owl]
Creates this prompt scheduler:
[[1, 'national geographic photo parrot'],
[2, 'national geographic photo owl'],
...
[9, 'national geographic photo parrot'],
[10, 'national geographic photo owl']]
Any number of alternating words can be used.