AxContextCacheInfo
type AxContextCacheInfo = object;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L889
Information about a context cache entry (returned after creation or lookup).
Properties
contentHash?
optional contentHash: string;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L897
Hash of the cached content for validation
expiresAt
expiresAt: string;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L893
When the cache expires (ISO 8601 timestamp)
name
name: string;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L891
Provider-specific cache resource name
tokenCount?
optional tokenCount: number;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/ai/types.ts#L895
Number of tokens in the cached content