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

    Interface BootstrapOptions<F, R>

    interface BootstrapOptions<F = AnyAIFunction, R = Rec> {
        concurrency?: number;
        expected?: Expected<F, R>;
        maxBootstrapped?: number;
        maxLabeled?: number;
        metric?: Metric<R>;
        seed?: number;
        teacher?: string;
        threshold?: number;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    concurrency?: number

    Runs in flight at once (default 4).

    expected?: Expected<F, R>

    Where the right answers are, as in evaluate.

    maxBootstrapped?: number
    maxLabeled?: number
    metric?: Metric<R>

    Which runs are good: (row, outputs) => score; default exact_match against the row's answers.

    seed?: number
    teacher?: string

    A stronger model to write the examples ("gpt-4.1"); default the function's own.

    threshold?: number

    A run counts when its score is at least this (default: any score above 0).