Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/foambubble/foam
/ embeddings.test.ts
File
embeddings.test.ts
packages/foam-vscode/src/ai/model/embeddings.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ FoamEmbeddings } from
'./embeddings'
;
2
import
{
3
EmbeddingProvider,
4
EmbeddingProviderInfo,
Callers
nothing calls this directly
Calls
13
createTestWorkspace
Function · 0.90
cosineSimilarity
Method · 0.80
fetchAndSet
Method · 0.80
updateResource
Method · 0.80
getEmbedding
Method · 0.80
hasEmbeddings
Method · 0.80
getSimilar
Method · 0.80
find
Method · 0.80
dispose
Method · 0.65
set
Method · 0.65
delete
Method · 0.65
parse
Method · 0.45
Tested by
no test coverage detected