Find answers from the community

Updated 8 months ago

For pinecone vector db is there another

For pinecone vector db is there another way to persist the docstore other than using .persist() without having to store it the local?
from llama_index.storage.docstore import SimpleDocumentStore docstore = SimpleDocumentStore() docstore.add_documents(documents) docstore.persist(persist_path="./docstore.json") new_docstore = SimpleDocumentStore.from_persist_path("./docstore.json")
L
m
2 comments
You could use a remote docstore -- mongodb, redis, firestore, postgres
Add a reply
Sign up and join the conversation on Discord