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