BootstrapFewShotOptimizer

constructor(maxBootstrappedDemos: Int, maxRounds: Int, maxTotalDemos: Int, includeLabeledExamples: Boolean, storagePath: ResilientPath, randomSeed: Long)

Parameters

maxBootstrappedDemos

Maximum number of successful traces to collect.

maxRounds

Maximum retry attempts per training example.

maxTotalDemos

Total demo slots (bootstrapped and labeled fallback).

includeLabeledExamples

Whether to fill the remaining slots with labeled dataset items.

storagePath

File path to save/load the optimization artifact.

randomSeed

Seed for reproducible sampling.