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


promptTokens

TypeScript
promptTokens: number;

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


totalTokens

TypeScript
totalTokens: number;

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

Docs