UNPKG

gepa-ts

Version:

TypeScript implementation of GEPA (Gradient-free Evolution of Prompts and Agents) - Complete port with 100% feature parity

17 lines 754 B
import { ComponentMap } from '../types/index.js'; export interface ComponentSelector { select(candidate: ComponentMap, iteration: number): string[]; } export declare class RoundRobinReflectionComponentSelector implements ComponentSelector { select(candidate: ComponentMap, iteration: number): string[]; } export declare class AllComponentsSelector implements ComponentSelector { select(candidate: ComponentMap, _iteration: number): string[]; } export declare class RandomComponentSelector implements ComponentSelector { private rng; private numComponents; constructor(numComponents?: number, rng?: () => number); select(candidate: ComponentMap, _iteration: number): string[]; } //# sourceMappingURL=component-selector.d.ts.map