Implementing a Universal Delete Function in Multiple Files #1283
tkesici
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In my project, I need a delete function in
hnswlib.ts
. Since there is no built-in method, I had to delete it from both InMemoryDocstore and VectorStore using the docs.delete and markDelete methods, respectively.Here's the code I wrote to perform these operations with a single method:
The problem I'm facing is that I need to implement these operations in over 10 files. Since this is a significant update, I am undecided about whether or not to proceed with it. I would like to open a discussion here.
I welcome your reviews.
Beta Was this translation helpful? Give feedback.
All reactions