Skip to content

AxTestPrompt

Class: AxTestPrompt<IN, OUT>

Type Parameters

IN extends AxGenIn = AxGenIn

OUT extends AxGenOut = AxGenOut

Constructors

new AxTestPrompt()

new AxTestPrompt<IN, OUT>(__namedParameters): AxTestPrompt<IN, OUT>

Parameters

__namedParameters: Readonly<AxEvaluateArgs<IN, OUT>>

Returns

AxTestPrompt<IN, OUT>

Defined in

src/ax/dsp/evaluate.ts:17

Methods

run()

run(metricFn): Promise<void>

Parameters

metricFn: AxMetricFn

Returns

Promise<void>

Defined in

src/ax/dsp/evaluate.ts:25