@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
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