MCPcopy Create free account
hub / github.com/MemTensor/MemOS / has

Method has

apps/memos-local-plugin/core/embedding/cache.ts:50–50  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

48 get(key: string): EmbeddingVector | undefined;
49 set(key: string, vec: EmbeddingVector): void;
50 has(key: string): boolean;
51 clear(): void;
52 stats(): EmbedCacheStats;
53}

Callers 15

validateBundleFunction · 0.65
getToolMetricsMethod · 0.65
sanitizeFtsQueryFunction · 0.65
handleMethod · 0.65
checkOfflineUsersMethod · 0.65
serveSearchMethod · 0.65
captureMessagesFunction · 0.65
deduplicateHitsFunction · 0.65
buildMemoryPromptSectionFunction · 0.65
registerFunction · 0.65
validateBundleFunction · 0.65
getToolMetricsMethod · 0.65

Implementers 2

LruEmbedCacheapps/memos-local-plugin/core/embedding
NullEmbedCacheapps/memos-local-plugin/core/embedding

Calls

no outgoing calls

Tested by

no test coverage detected