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/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/dsp/types.ts#L42

Accumulated token usage across steps.

Properties

completionTokens

TypeScript
completionTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/dsp/types.ts#L44


promptTokens

TypeScript
promptTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/dsp/types.ts#L43


totalTokens

TypeScript
totalTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/dsp/types.ts#L45

Docs