Hi, When I used the db.save_local("faiss_index") function to save my vectors, it deleted my old vector and stored the new created vector, but I want to save the new created vector in append mode so that I can utilise both my old and new created vectors. Can someone assist me with this? code: using langchain def StoreNewData(): all_text_data = extract_text_from_documents_in_directory(UPLOAD_DIR) text_splitter = RecursiveCharacterTextSplitter( chunk_size=1000, chunk_overlap=200, length_function=len ) chunks = text_splitter.split_text(text=all_text_data)
embeddings = OpenAIEmbeddings() db = FAISS.from_texts(chunks, embedding=embeddings) db.save_local("faiss_index")