DSPy: The framework for programming—not prompting—language models
Python
Update bootstrap.py
Omar Khattabd51bf8cae02d
diff --git a/dspy/teleprompt/bootstrap.py b/dspy/teleprompt/bootstrap.pyindex ba4e649a3..269ff1b08 100644--- a/dspy/teleprompt/bootstrap.py+++ b/dspy/teleprompt/bootstrap.py@@ -152,7 +152,7 @@ class BootstrapFewShot(Teleprompter):if self.metric:metric_val = self.metric(example, prediction, trace)if self.metric_threshold:- success = metric_val > self.metric_threshold+ success = metric_val >= self.metric_thresholdelse:success = metric_valelse: