functai for TypeScript - v0.1.0
    Preparing search index...

    Interface GepaResult<F>

    What gepa returns: the improved copy, and the search that made it.

    interface GepaResult<F> {
        calls: number;
        fn: F;
        reflections: number;
        trials: Trial[];
    }

    Type Parameters

    • F
    Index
    calls: number

    Calls of the function.

    fn: F

    A copy with the best instruction (the function's own when nothing beat it).

    reflections: number

    Instructions the teacher wrote.

    trials: Trial[]

    Every instruction tried.