AxOptimizerArgs
type AxOptimizerArgs = object;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L120
Properties
checkpointInterval?
optional checkpointInterval: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L154
checkpointLoad?
optional checkpointLoad: AxCheckpointLoadFn;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L153
checkpointSave?
optional checkpointSave: AxCheckpointSaveFn;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L152
costTracker?
optional costTracker: AxCostTracker;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L151
dataAwareProposer?
optional dataAwareProposer: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L137
debugOptimizer?
optional debugOptimizer: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L159
earlyStoppingTrials?
optional earlyStoppingTrials: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L141
fewshotAwareProposer?
optional fewshotAwareProposer: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L140
initTemperature?
optional initTemperature: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L131
logger?
optional logger: AxLoggerFunction;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L156
minibatch?
optional minibatch: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L133
minibatchFullEvalSteps?
optional minibatchFullEvalSteps: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L135
minibatchSize?
optional minibatchSize: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L134
minImprovementThreshold?
optional minImprovementThreshold: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L142
minSuccessRate?
optional minSuccessRate: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L147
numCandidates?
optional numCandidates: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L130
numTrials?
optional numTrials: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L132
onEarlyStop()?
optional onEarlyStop: (reason: string, stats: Readonly<AxOptimizationStats>) => void;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L150
Parameters
| Parameter | Type |
|---|---|
reason | string |
stats | Readonly<AxOptimizationStats> |
Returns
void
onProgress()?
optional onProgress: (progress: Readonly<AxOptimizationProgress>) => void;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L149
Parameters
| Parameter | Type |
|---|---|
progress | Readonly<AxOptimizationProgress> |
Returns
void
optimizerLogger()?
optional optimizerLogger: (data: AxOptimizerLoggerData) => void;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L160
Parameters
| Parameter | Type |
|---|---|
data | AxOptimizerLoggerData |
Returns
void
optimizeTopP?
optional optimizeTopP: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L146
programAwareProposer?
optional programAwareProposer: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L136
resultPicker?
optional resultPicker: AxResultPickerFunction<any>;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L145
resumeFromCheckpoint?
optional resumeFromCheckpoint: string;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L155
sampleCount?
optional sampleCount: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L143
seed?
optional seed: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L158
studentAI
studentAI: AxAIService;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L121
targetScore?
optional targetScore: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L148
teacherAI?
optional teacherAI: AxAIService;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L122
teacherOptions?
optional teacherOptions: AxAIServiceOptions;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L129
AI service options for the optimizer’s teacher calls: GEPA feedback and
proposals, the ACE reflector and curator, and BootstrapFewShot demo runs.
They also apply when those calls fall back to studentAI. Set
useExpensiveModel: 'yes' to use a teacher model marked isExpensive.
tipAwareProposer?
optional tipAwareProposer: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L139
verbose?
optional verbose: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L157
viewDataBatchSize?
optional viewDataBatchSize: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/common_types.ts#L138