hnswlib-wasm icon indicating copy to clipboard operation
hnswlib-wasm copied to clipboard

Make it work in node backend with

Open vtempest opened this issue 5 months ago • 0 comments

Awesome work Shravan!!!

import "fake-indexeddb/auto";

Put that at the top of dist/hnswlib-####.js and corresponding lib. This is a polyfill in backend if window is undefined.

I am adding this to my AI Research lib airesearch.wiki/ lets colab on improvements!

I'd like to see sharding based on simple clusters to split the hnsw data into multiple files or base64 strings to store in db.

vtempest avatar Sep 08 '24 07:09 vtempest