similiarity Node postprocessor
with some threshold value ] index.insert
method.documents = SimpleDirectoryReader(DOC_FOLDER_PATH, file_metadata=filename_fn).load_data() # Index index = GPTVectorStoreIndex.from_documents(documents, service_context=service_context) # creating new document doc = Document(text="this is a document lol!") # Add to existing index index.insert(doc)