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

The ability to provide a custom index file name #16

Closed ispyhumanfly closed 9 months ago

ispyhumanfly commented 9 months ago

Synopsis

The ability to give LocalIndex class a second parameter of "index file name".

Details

Basically, I needed a way to customize the name of the index file to be loaded. We break up our embedding indexes by classification name. I tried to stay consistent with the patterns you had already established in your code base.

Closing

We very much enjoy using this package for our simple AI experimentations. Thank you very much!

Stevenic commented 9 months ago

@ispyhumanfly sorry I missed this could I get you to merge your changes with main? I'll get this merged in this week

ispyhumanfly commented 9 months ago

@ispyhumanfly sorry I missed this could I get you to merge your changes with main? I'll get this merged in this week

Sure!

ispyhumanfly commented 9 months ago

Hey @Stevenic, I believe we're good to go.

Stevenic commented 9 months ago

Thanks for the contribution!