from llama_index import set_global_service_context service_context = ServiceContext.from_defaults( llm=None, embed_model='local' ) set_global_service_context(service_context) # do storage operation from here