Use variables in pattern files #649
PyrokineticDarkElf
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it could be cool to include a way to include variables in the prompts (patterns).
My main use case for this would be while using the extract_wisdom prompt, but I believe there could be others that would benefit from this.
The idea is that in the prompt, there is a line that states:
I believe it would be useful to have a folder of variables that could be inserted in to the prompt (and perhaps a fall back to a default value).
This would allow us to write something like:
The prompt would then become more flexible since we could choose which set of saved interests to choose from in the CLI, or fall back to the default stored in the prompt:
The saved variables could be thought of as 'collections', all saved in one file per type (life_learner, development, engineering etc).
variables/life_learner.md
variables/development.md
variables/engineering.md
Beta Was this translation helpful? Give feedback.
All reactions