This is from the course: Understanding and Applying Text Embeddings. Lesson 4. Anomaly Detection section in the notebook. For some reason, the model.get_embeddings([input_text])[0].values is returning a string “detail” instead of embeddings. (see below):
I am getting a similar error from the notebook in Lesson 5 & 6 as well, except the returned string is “message” (see below):
I have checked the model variable it is holding <vertexai.language_models._language_models.TextEmbeddingModel at 0x7f6e5b12f700> as expected.
However, when i run from a new gmail account, the notebook seems to run fine. Can you please tell me what’s going on ?