-
I have the following code:
It reads from a JSON file and adds records with However, I have records that will have the same I found in a Reddit thread that hack to know if the item already exists, but I don't know how to update or delete. How do I update an existing record? Or how do I delete it and insert it again? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, @brunolm! Hope you're doing awesome! We don't support direct updates of the vectorstore items as of now, but it will come in the near future, in the next couple of releases. However, in order to update embeddings you can use vectorstore.delete to remove old items and then reupload the data. |
Beta Was this translation helpful? Give feedback.
Hey, @brunolm! Hope you're doing awesome!
We don't support direct updates of the vectorstore items as of now, but it will come in the near future, in the next couple of releases. However, in order to update embeddings you can use vectorstore.delete to remove old items and then reupload the data.