So far, I am able to load it but I have to download it and it takes too much time. I want to read the pickle file directly.
Here's the code
def get_vector_blob(blob_name):
connection_string = <connection string>
container_name = <container name>
blob_client = BlobClient.from_connection_string(connection_string, container_name, blob_name)
downloader = blob_client.download_blob(0)
# Load to pickle
b = downloader.readall()
vector = pickle.loads(b)
return vector