UNPKG

@nomyx/assistant

Version:

A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)

10 lines (9 loc) 383 B
import { CacheManager } from "../types/cache"; import { ProviderResponse } from "../types/chat"; export declare class MemoryCacheManager implements CacheManager { private cache; get(key: string): Promise<ProviderResponse | null>; set(key: string, value: ProviderResponse, ttl: number): Promise<void>; delete(key: string): Promise<void>; clear(): Promise<void>; }