We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86dabf1 commit ce1ea2dCopy full SHA for ce1ea2d
dspy/teleprompt/utils.py
@@ -59,7 +59,7 @@ def eval_candidate_program(batch_size, trainset, candidate_program, evaluate, rn
59
except Exception:
60
logger.error("An exception occurred during evaluation", exc_info=True)
61
# TODO: Handle this better, as -ve scores are possible
62
- return dspy.Prediction(score=0.0, outputs=[])
+ return dspy.Prediction(score=0.0, results=[])
63
64
def eval_candidate_program_with_pruning(
65
trial, trial_logs, trainset, candidate_program, evaluate, trial_num, batch_size=100,
0 commit comments