Closed leegang closed 5 months ago
This is a temporary solution https://github.com/stanfordnlp/dspy/pull/1193
Hi @leegang , thanks for raising this error. This results due to not specifying a valset
when compiling with the optimizer.
We might want to update this to match the existing logic in defaulting to the trainset
if the valset
is not specified (as done in BootstrapFewShotRandomSearch) but will confirm shortly.
For more context on these data splits, please refer to #1181
The metric function:
The program code:
The signature code: