Stevenic / vectra

Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.
MIT License
321 stars 29 forks source link

Browser support #12

Open massi-ang opened 10 months ago

massi-ang commented 10 months ago

Any plans to add browser support?

Stevenic commented 9 months ago

Sorry for the delay... I can look into that

GaureeshAnvekar commented 9 months ago

Looks like an interesting enhancement. Let me know if I can help.

mathieu-heyarctic commented 6 months ago

Sorry for the delay... I can look into that

Have you looked into it at all? What native nodejs api's are you relying on?

Stevenic commented 6 months ago

I'm relying on the "fs" module currently... We could look at making this a goal for Vectra 2:

https://github.com/Stevenic/vectra/discussions/31

matbee-eth commented 6 months ago

I'm relying on the "fs" module currently... We could look at making this a goal for Vectra 2:

31

apologies, used my work github profile above, if it's the nodejs promise based fs I can provide a working "node fs" browser module of the subset of functions that work on opfs.

Stevenic commented 6 months ago

So I'm planning to start working on Vectra 2 in the next week or so and I'm thinking that I'm going to break the modules apart a bit...

matbee-eth commented 6 months ago

Will there be extra functionality or is it mostly a rewrite to deal with the learnings from along the way?