index.storage_context.persist(persist_dir="./storage") from llama_index.core import load_index_from_storage storage_context = StorageContext.from_defaults(persist_dir="./storage", vector_store=vector_store) index = load_index_from_storage(storage_context)