agsamantha/node_modules/@langchain/community/dist/utils/momento.d.ts

10 lines
371 B
TypeScript
Raw Normal View History

2024-10-02 20:15:21 +00:00
import { ICacheClient } from "@gomomento/sdk-core";
/**
* Utility function to ensure that a Momento cache exists.
* If the cache does not exist, it is created.
*
* @param client The Momento cache client.
* @param cacheName The name of the cache to ensure exists.
*/
export declare function ensureCacheExists(client: ICacheClient, cacheName: string): Promise<void>;