faiss-node icon indicating copy to clipboard operation
faiss-node copied to clipboard

Node.js bindings for faiss

Results 20 faiss-node issues
Sort by recently updated
recently updated
newest added

**Describe the bug** with langchain ```js const vectorStore = new FaissStore(new OpenAIEmbeddings()); const autogpt = AutoGPT.fromLLMAndTools(...); autogpt.run(['goals']); ``` ```bash throw new Error("Vector store not initialised yet. Try calling `fromTexts`, `fromDocuments`...

bug

**Describe the bug** I am just trying to use the code provided in documentation inside the VSCODE extrension but I get the error below: Code: ``` const { IndexFlatL2 }...

bug
waiting for response

Thanks for the cool project. `range_search` could be a nice addition; basically this https://github.com/facebookresearch/faiss/issues/1273

enhancement

An important change for large indexes, and precursor to supporting vector identifiers where index is insufficient. Faiss already natively uses 64bit labels, this PR just prevents the conversion loss.

This PR also includes new patterns for: * Custom constructors that differ across indexes * Getters/Setters * Custom index props

Also establishes a cleaner pattern to support getter/setters.

Could you add a method to get the original vector value from the index file by label? Sth like: Thanks!

enhancement

**Describe the bug** I cannot install `faiss-node` using `node-pre-gyp`. I am receiving the following error: ``` stdout: '', stderr: 'node-pre-gyp ERR! UNCAUGHT EXCEPTION \n' + 'node-pre-gyp ERR! stack Error: faiss-node...

bug