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

AxStepUsage

TypeScript
type AxStepUsage = object;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/types.ts#L47

Accumulated token usage across steps.

Properties

completionTokens

TypeScript
completionTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/types.ts#L49


promptTokens

TypeScript
promptTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/types.ts#L48


totalTokens

TypeScript
totalTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/dsp/types.ts#L50

Docs