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