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

Method set

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

Source from the content-addressed store, hash-verified

47export interface EmbedCache {
48 get(key: string): EmbeddingVector | undefined;
49 set(key: string, vec: EmbeddingVector): void;
50 has(key: string): boolean;
51 clear(): void;
52 stats(): EmbedCacheStats;

Callers 15

hubListMemoriesFunction · 0.65
hubListTasksFunction · 0.65
hubListSkillsFunction · 0.65
hubSearchSkillsFunction · 0.65
recordErrorMethod · 0.65
getOrCreateMethod · 0.65
getToolMetricsMethod · 0.65
getMetricsMethod · 0.65
getSessionOwnerMapMethod · 0.65
mmrRerankFunction · 0.65
rrfFuseFunction · 0.65
checkRateLimitMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 13

registerToolFunction · 0.52
onFunction · 0.52
registerToolFunction · 0.52
registerToolFunction · 0.52
onFunction · 0.52
_enqueueMethod · 0.52
setItemFunction · 0.52
addEventListenerFunction · 0.52
setItemFunction · 0.52
setItemFunction · 0.52
makeApiFunction · 0.52
test_set_adds_fieldsMethod · 0.52