Gemini-embedding-2 SQL query inside alloyDB AI fails

when I try to call gemini-embedding-2 inside alloyDB AI, I get postgresql error: Invalid arguments were provided for the prediction request. has anyone tried it successfully?