Find answers from the community

Updated 10 months ago

For pinecone vector db is there another

At a glance
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