Skip to content

ComponentSelector

gepa.proposer.reflective_mutation.base.ReflectionComponentSelector

Bases: Protocol

Functions

__call__(state: GEPAState, trajectories: list[Trajectory], subsample_scores: list[float], candidate_idx: int, candidate: dict[str, str]) -> list[str]

Source code in gepa/proposer/reflective_mutation/base.py
def __call__(
    self,
    state: GEPAState,
    trajectories: list[Trajectory],
    subsample_scores: list[float],
    candidate_idx: int,
    candidate: dict[str, str],
) -> list[str]: ...