MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / fetchEmbeddings

Function fetchEmbeddings

src/tools/semantic-navigate.ts:63–65  ·  view source on GitHub ↗
(inputs: string[])

Source from the content-addressed store, hash-verified

61}
62
63async function fetchEmbeddings(inputs: string[]): Promise<number[][]> {
64 return fetchEmbedding(inputs);
65}
66
67function isNavigableSourceCandidate(filePath: string): boolean {
68 return isSupportedFile(filePath) && !NON_CODE_NAVIGATE_EXTENSIONS.has(extname(filePath).toLowerCase());

Callers 1

embedFilesWithFallbackFunction · 0.85

Calls 1

fetchEmbeddingFunction · 0.85

Tested by

no test coverage detected