@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
11 lines (10 loc) • 359 B
TypeScript
import { ProviderResponse } from '../../../types/chat';
import { VertexCacheKey } from './types';
export declare class VertexCache {
private cache;
set(key: VertexCacheKey, value: ProviderResponse): void;
get(key: VertexCacheKey): ProviderResponse | undefined;
has(key: VertexCacheKey): boolean;
clear(): void;
private stringifyKey;
}