stanfordnlp / dspy

DSPy: The framework for programming—not prompting—language models
https://dspy.ai
MIT License
19.07k stars 1.46k forks source link

WIP feature(dspy): add the ability to pass feedback to mipro #1597

Open kevin-v96 opened 1 month ago

kevin-v96 commented 1 month ago

Add the ability to pass feedback to mipro for multi-step compilation when you take feedback from the user. For example, at Pretrain we take the user's feedback on the frontend after generation 1 and pass it to MIPRO during subsequence generations.