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