storage_context = StorageContext.from_defaults()
index = GPTVectorStoreIndex(documents, service_context=service_context,storage_context=storage_context)
storage_context.persist(persist_dir="my directory'])
It was working fine before, but now it is not working.
How to fix?
Add a reply
Sign up and join the conversation on Discord