GEPA Optimized on Clinical Impact Judge

This commit is contained in:
2025-11-30 07:08:00 -05:00
parent 50f18698ce
commit 347ef3b3c0
22 changed files with 743 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
from dspy.teleprompt import GEPA
def build_gepa(metric, reflection_lm=None, **kwargs):
"""Construct a GEPA optimizer."""
if reflection_lm is not None:
kwargs["reflection_lm"] = reflection_lm
return GEPA(metric=metric, **kwargs)