AxRewardFnArgs Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxRewardFnArgs.md type AxRewardFnArgs

AxRewardFnArgs

TypeScript
type AxRewardFnArgs<IN, OUT> = object;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L24

Type Parameters

Type Parameter
IN
OUT extends AxGenOut

Properties

attempt

TypeScript
attempt: number;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L27


chatLog

TypeScript
chatLog: readonly AxChatLogEntry[];

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L31


input

TypeScript
input: Readonly<IN>;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L25


prediction

TypeScript
prediction: Readonly<OUT>;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L26


round

TypeScript
round: number;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L28


sampleIndex

TypeScript
sampleIndex: number;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L29


traces

TypeScript
traces: readonly AxProgramTrace<IN, OUT>[];

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/refine.ts#L30

Docs