save_to_string
has been replaced by StorageContext
. How would I save it to S3? from llama_index import StorageContext, load_index_from_storage # rebuild storage context storage_context = StorageContext.from_defaults(persist_dir="./storage") # load index index = load_index_from_storage(storage_context)
to_dict
and from_dict
: https://github.com/jerryjliu/llama_index/blob/main/llama_index/storage/storage_context.py