dspy icon indicating copy to clipboard operation
dspy copied to clipboard

fix (mipro): enable running mipro using only labeled demos

Open famimahmud opened this issue 7 months ago • 1 comments

Enable performing mipro prompt optimization while only using labeled demos. Here, bootstrapped demos are solely used for the meta-prompt to enhance the final prompt.

Before fix:

  • max_bootstrapped_demos = 0 and
  • max_labeled_demos > 0

mipro optimizer raises ValueError: "No examples found for the given predictor"

famimahmud avatar Jul 22 '24 09:07 famimahmud