bestOfN
function bestOfN<IN, OUT>(program: Readonly<AxProgrammable<IN, OUT>>, options: Readonly<AxBestOfNOptions<IN, OUT>>): AxBestOfN<IN, OUT>;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L832
Type Parameters
| Type Parameter |
|---|
IN |
OUT extends AxGenOut |
Parameters
| Parameter | Type |
|---|---|
program | Readonly<AxProgrammable<IN, OUT>> |
options | Readonly<AxBestOfNOptions<IN, OUT>> |
Returns
AxBestOfN<IN, OUT>