Skip to content

MergeConfig

gepa.optimize_anything.MergeConfig(max_merge_invocations: int = 5, merge_val_overlap_floor: int = 5) dataclass

Enables cross-pollination between candidates on the Pareto frontier.

When set, GEPA periodically attempts to merge strengths of two candidates that each excel on different subsets of the validation set.

Attributes

max_merge_invocations: int = 5 class-attribute instance-attribute

merge_val_overlap_floor: int = 5 class-attribute instance-attribute

Functions