AxRefineOptions
type AxRefineOptions<IN, OUT> = object;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L65
Type Parameters
| Type Parameter |
|---|
IN |
OUT extends AxGenOut |
Properties
failCount?
optional failCount: number;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L70
feedbackAI?
optional feedbackAI: Readonly<AxAIService>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L73
feedbackModelConfig?
optional feedbackModelConfig: Partial<AxModelConfig>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L74
modelConfig?
optional modelConfig: Partial<AxModelConfig>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L71
onAttempt()?
optional onAttempt: (attempt: Readonly<AxAttempt<IN, OUT>>) => void | Promise<void>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L77
Parameters
| Parameter | Type |
|---|---|
attempt | Readonly<AxAttempt<IN, OUT>> |
Returns
void | Promise<void>
programDescription?
optional programDescription: string;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L76
rewardDescription?
optional rewardDescription: string;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L75
rewardFn
rewardFn: AxRewardFn<IN, OUT>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L68
rounds
rounds: number;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L66
samplesPerRound?
optional samplesPerRound: number;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L67
strategy?
optional strategy: AxRefineStrategy;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L72
threshold?
optional threshold: number;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L69