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

    Interface GepaOptions<F, R>

    interface GepaOptions<F = AnyAIFunction, R = Rec> {
        budget?: number;
        concurrency?: number;
        expected?: Expected<F, R>;
        feedback?: Feedback<R>;
        metric?: Metric<R>;
        minibatch?: number;
        seed?: number;
        selection?: readonly R[];
        teacher?: string;
    }

    Type Parameters

    Index
    budget?: number

    Calls of the function at most (default 300).

    concurrency?: number

    Calls in flight at once (default 8).

    expected?: Expected<F, R>

    Where the right answers are, as in evaluate: a column for the answer, or {output: column}.

    feedback?: Feedback<R>

    Words per row (default: "right", "wrong: the right answer is …", or the call's error).

    metric?: Metric<R>

    A score per row, 1 meaning right (default: exact_match against the right answers).

    minibatch?: number

    Feedback rows per new instruction (default 4).

    seed?: number
    selection?: readonly R[]

    Rows to choose with, instead of half of the rows.

    teacher?: string

    The model that writes instructions ("gpt-6-sol"); default the function's own.