Hi,I am trying to call vertex ai text embedding from a google cloud
function like below.
aiplatform.init(project=project,location=location)model =
TextEmbeddingModel.from_pretrained("textembedding-gecko@001")embeddings
= model.get_embeddings(sentence...