Replies: 2 comments 1 reply
-
Sure! Empty lines and lines starting with the octothorpe ( https://github.com/adieyal/dynamicprompts/blob/add30353808ca239d58c831b4b921481caedab76/src/dynamicprompts/wildcardfile.py#L23 |
Beta Was this translation helpful? Give feedback.
-
Talking about wildcards: Is the "combination term" {word1|word2|...} not respected in a wildcard? Edit: The {clean|gritty} was not resolved in the prompt. |
Beta Was this translation helpful? Give feedback.
-
Is there any functionality that would allow comments in wildcard files that would be excluded from populating Dynamic Prompt constructs?
I'm looking into creating more complex prompt builder constructs and setups. A file header and / or comments in a wildcard file would make it easier to keep track of changes and updates.
I'm not sure if more standardized or unique comment formats would make more sense should any kind of syntax functionality be added in the future. Although multi-replacing comment blocks isn't a big problem should the comment formatting need to be adjusted in the future.
Common comment formatting
Multiline
I'm not sure how complicated it would be to implement this. Also if inline comments would be possible. I guess the whitespace character before the comment would need to be considered.
Inline comments
Wasn't there a feature a couple of days ago that allowed comments in the prompt field?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions