AxAIGoogleGeminiCacheResponse
type AxAIGoogleGeminiCacheResponse = object;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L333
Response from creating/getting a context cache.
Properties
createTime
createTime: string;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L341
When the cache was created (ISO 8601)
displayName?
optional displayName: string;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L337
Display name
expireTime
expireTime: string;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L345
When the cache expires (ISO 8601)
model
model: string;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L339
Model associated with the cache
name
name: string;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L335
Resource name of the cached content (e.g., “projects/…/locations/…/cachedContents/…”)
updateTime
updateTime: string;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L343
When the cache was last updated (ISO 8601)
optional usageMetadata: object;
Defined in: https://github.com/ax-llm/ax/blob/05ff5bd88d050f7ba85a3fcc6eb0ed2975ad7d51/src/ax/ai/google-gemini/types.ts#L347
Token count of cached content
totalTokenCount
totalTokenCount: number;