AxBestOfNOptions
type AxBestOfNOptions<IN, OUT> = object;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L55
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#L59
modelConfig?
optional modelConfig: Partial<AxModelConfig>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L60
n
n: number;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L56
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#L62
Parameters
| Parameter | Type |
|---|---|
attempt | Readonly<AxAttempt<IN, OUT>> |
Returns
void | Promise<void>
rewardFn
rewardFn: AxRewardFn<IN, OUT>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L57
strategy?
optional strategy: AxRefineStrategy;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L61
threshold?
optional threshold: number;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L58