Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

unecessary space

manishshettym338fecc5f9bd
diff --git a/dspy/teleprompt/bootstrap.py b/dspy/teleprompt/bootstrap.py
index 15a744527..31edcf1c6 100644
--- a/dspy/teleprompt/bootstrap.py
+++ b/dspy/teleprompt/bootstrap.py
@@ -152,7 +152,7 @@ class BootstrapFewShot(Teleprompter):
for name, predictor in teacher.named_predictors():
predictor.demos = predictor_cache[name]
-
+
success = (self.metric is None) or self.metric(example, prediction, trace)
suggest_failures = dspy.settings.suggest_failure_count
# print(success, example, prediction)