Open
Description
What feature would you like to see?
Hello! It would be very useful, if DSPy would allow loading prompts from external sources (such as databases, files, etc). It would be also useful if we could construct docstrings (that are converted to prompts) dynamically: ie, referencing variables in the module file (for example, to build a list of instructions for different entities, or specifying a particular language).
Right now, the static nature of docsrings limit quite a good number of potential use cases.
Thank you
Would you like to contribute?
- Yes, I'd like to help implement this.
- No, I just want to request it.
Additional Context
No response