xlinx / sd-webui-decadetw-auto-prompt-llm

sd-webui-auto-prompt-llm
MIT License
53 stars 8 forks source link

suggestion: presets of sys prompts #10

Closed tazztone closed 2 months ago

tazztone commented 2 months ago

would be cool if we could save different system prompts (+ prompt combos) as presets and easily switch between them for different occasions. we could continually improve sys prompts and compare versions against each other. and even share the presets in community. or an even wilder suggestion: have the LLM generate sys prompts to get even more interesting results 😂🤷 cheers

xlinx commented 2 months ago
  1. so far, if need save function that i can call js save in browser local storage. But the forge using different gradio seems cant call js function. Anyway i try later
  2. I just add llm-text loop function, it can pass 1st llm answer to 2nd llm prompt or more then send to SD vae. r u say u want llm generate llm-sys-prompt for llm-sys-prompt it self? Can u provide some example that i can design the most close what u want.
  3. i feel llm-txt-loop and ur cool idea sys-prompt-loop(maybe u can name it), after use those function i got lot of interseting image that i never though.
tazztone commented 2 months ago
  1. it was just a crazy idea (idk how it should be implemented, or if it is even a good idea). but LLM can write some good sys prompts. (or even prompts to create system prompts, etc. :D)

(today i told claude.ai to generate some random prompts to paste in a wildcards txt file. when i wasn't happy with the output i gave it some feedback and guidelines. in the end i told it to write a new sys prompt with all the corrections: "remember my first message. similar to this i want you to write a system prompt for another LLM. feel free to optimize it further". then i pasted this new system prompt in a new LLM chat to generate more (better?) prompts. even further if there was a way for AI to rate the resulting generated images it could then self improve it's own system prompt to only generate 10/10 images 🤷 . i know this is not directly related to this extension sorry :D )