Find answers from the community

Updated 3 months ago

Index

Hi, does llamaindex support continous indexing with newer data? The getting started code only shows its batch indexing capability (i.e. index all data files in the \data folder)
W
v
H
5 comments
Yes you can add new data to the existing index.
Plain Text
documents = SimpleDirectoryReader("data").load_data() # new documents 

for doc in documents:
    index.insert(doc)
@WhiteFang_Jr Could you help me on How to add this in existing chroma vector store?
Same method will insert the nodes into chroma if your vector_store was provided while creating the index.
oh! got it. Thanks πŸ‘
Add a reply
Sign up and join the conversation on Discord