Need an explanation of how root_map works with WildcardManager/RandomPromptGenerator
#136
ryanwalder
started this conversation in
General
Replies: 1 comment 1 reply
-
|
The root map is meant for loading wildcards from the filesystem (and multiple roots therein). If you have wildcard values in code, you would need to build a dynamicprompts/tests/wildcard/test_tree.py Lines 5 to 13 in 58815af and then if you want to use a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a test yaml file:
test/test.yamland an object with the same data:
When I use the file, it can correctly generate a random prompt:
Which returns a random result (
['two']) as expected.However if I pass in the
wcobject as aroot_mapI get an error:Am I missing something here?
Beta Was this translation helpful? Give feedback.
All reactions