Next.js Discord

Discord Forum

Vertex AI Cutom Model

Unanswered
Greater Pewee posted this in #help-forum
Open in Discord
Avatar
Greater PeweeOP
Hi,

I am trying to use the Vercel AI SDK with a custom model that I trained that is running in Google Cloud. I have read teh instructions on this page: https://sdk.vercel.ai/providers/ai-sdk-providers/google-vertex
but have not been able to get it to work. In particular, the name of the model is supposed to start with "projects/" according to the cited page. Also, I am not sure how to set up authentication.

I would be grateful for any sample code or suggestions on getting this to work with a custom model in gcloud.

Thanks.

0 Replies