Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/developersdigest/llm-answer-engine
/ getFromSemanticCache
Function
getFromSemanticCache
app/tools/semanticCache.tsx:32–37 ·
view source on GitHub ↗
(userMessage: string)
Source
from the content-addressed store, hash-verified
30
}
31
}
32
export async function getFromSemanticCache(userMessage: string) {
33
if (semanticCache) {
34
return semanticCache.get(userMessage);
35
}
36
return null;
37
}
Callers
1
myAction
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected