Skip to content

AllComponentSelector

gepa.strategies.component_selector.AllReflectionComponentSelector

Bases: ReflectionComponentSelector

Functions

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

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