@mastra/core
Version:
11 lines • 438 B
TypeScript
import { LRUCache } from 'lru-cache';
/**
* Global embedding cache shared across all SemanticRecall instances.
* This ensures embeddings are cached and reused even when new processor
* instances are created.
*
* Cache key format: `${indexName}:${contentHash}`
* Cache value: embedding vector (number[])
*/
export declare const globalEmbeddingCache: LRUCache<string, number[], unknown>;
//# sourceMappingURL=embedding-cache.d.ts.map