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/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L48

Accumulated token usage across steps.

Properties

completionTokens

TypeScript
completionTokens: number;

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


promptTokens

TypeScript
promptTokens: number;

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


totalTokens

TypeScript
totalTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/dsp/types.ts#L51

Docs