You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe this is possible. but unsure with the new backend refactor.
I'd like to be able to handcraft and "freeze" a prompt template and have DSPY fill in few shot examples, template variables and arbitrary things like that. These sections can have some initial value or just be blank.
Maybe this goes against the philosophy of Dspy and is a won't fix? I got some upvotes in discord when I posted this
The text was updated successfully, but these errors were encountered:
This is possible right now with one of the fixes in PR #843
Below is an example of pseudocode for doing this:
def my_optimize_fn:
# load previously optimized program
# re-optimize using COPRO optimizer
# re-optimize using BootstrapRandomFewShot
# save optimized program
I don't believe this is possible. but unsure with the new backend refactor.
I'd like to be able to handcraft and "freeze" a prompt template and have DSPY fill in few shot examples, template variables and arbitrary things like that. These sections can have some initial value or just be blank.
Maybe this goes against the philosophy of Dspy and is a won't fix? I got some upvotes in discord when I posted this
The text was updated successfully, but these errors were encountered: