Hai The Dude

Results 22 comments of Hai The Dude

I think you might be able to query your documents, embed a new one, and add it back into the database.

I'm also interested in a way to update docs that are already in a vectorstore

I went and asked Kapa.ai, and here's the answer: To update an existing FAISS vector store with a new version of your document, you can follow these steps: 1. Remove...

You can probably use this: https://python.langchain.com/en/latest/reference/modules/vectorstores.html?highlight=add_texts#langchain.vectorstores.Annoy.add_texts

You can also look at FAISS's docs for insert/modify/delete operations. I haven't seen LangChain's abstraction for this yet. https://github.com/facebookresearch/faiss/wiki/Special-operations-on-indexes ``` import faiss # create an index d = 64 index...

If anyone still runs into this issue, it's because the PyTorch version in langchain isn't supported in Python version >=3.9. To fix this, assuming you want to contribute to `libs/langchain`,...

@ramnes do you have a list of issues for newcomers? I'll pick a few and work on them. About to build Notion integration in my FastAPI app this month.