AxContextCacheInfo
type AxContextCacheInfo = object;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L964
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/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L972
Hash of the cached content for validation
expiresAt
expiresAt: string;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L968
When the cache expires (ISO 8601 timestamp)
name
name: string;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L966
Provider-specific cache resource name
tokenCount?
optional tokenCount: number;Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L970
Number of tokens in the cached content