dspy
dspy copied to clipboard
fix(dspy): `return_all_scores` and `return_outputs` in Evaluate class
Make the parameters return_all_scores and return_outputs of the Evaluate class more reasonable.
- If I specify
return_outputs=Falsewhen calling__call__, this value is not actually passed in, asreturn_outputswill take the value fromself.return_outputsat that time. - Ensure that the
return_all_scoresparameter is passed in and initialized consistently withreturn_outputs.