Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add adjective prompt support #22

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

vixalie
Copy link

@vixalie vixalie commented Jun 22, 2023

Add adjective prompt word support, now may use trailing * mark adjective prompt. When adding an adjective prompt, textarea won't add trailing comma, and will wait to add next prompt.

For example, the tag file is defined as below.

Patterns:
    Checkered: checkered *
    Grid: grid *
    Paw Printed: paw printed *

Entity:
    - background

Those Patterns will show on UI as Checkered:, Grid:, etc. Trailing : prompts this prompt is a adjective prompt. Click adjective prompt and then click other entity prompt, will add prompt to textarea like grid background, but not gird, background as before.

And so as random prompt function. For example, @2$$theme:Patterns@ background, 1other will be expanded to grid background, checkered background, 1other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants