Using Google Vertex AI in Actions

NOTE: I haven't tested anything yet but seems like this is not possible.

I want to use Google Vertex AI embeddings model with langchain
https://js.langchain.com/docs/integrations/text_embedding/google_vertex_ai

But the documentation says

You are logged into an account (using gcloud auth application-default login) permitted to that project.


I don't know how this will work with the Serverless architecture Convex provides.

While current scenario is only for Google, other APIs/SDKs might have similar dependencies, Any tips on this?
The GoogleVertexAIEmbeddings class uses Google's Vertex AI PaLM models
Google Vertex AI | 🦜️🔗 Langchain
Was this page helpful?