Optimize Few-Shot Demos with dspy.BootstrapFewShotWithRandomSearch
Guide the user through using DSPy's BootstrapFewShotWithRandomSearch optimizer to find the best set of few-shot demonstrations for their program. This optimizer runs BootstrapFewShot multiple times with different random seeds and keeps the candidate program that scores highest on a metric.
What it is
BootstrapFewShotWithRandomSearch (also known as BootstrapRS) is a prompt optimizer that searches over multiple candidat
[Description truncada. Veja o README completo no GitHub.]