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/686f8ba96cf652e044cf922b67c16c8f09754a70/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>