I've just deployed an ML model on Google vertex AI, it can make predictions using vertex AI web interface. But is it possible to send a request from a browser, for example, to this deployed model. Something like
http://myapp.cloud.google.com/input="features of an example"
and get the prediction as output. Thanks
Yes, you can send using endpoint URL as.
https://us-central1-aiplatform.googleapis.com/v1beta1/projects/<PROJECT_ID>/locations/us-central1/endpoints/<ENDPOINT_ID>:predict
Data should be given as in POST parameter.
{
"instances":
[1.4838871833555929,
1.8659883497083019,
2.234620276849616,
1.0187816540094903,
-2.530890710602246,
-1.6046416850441676,
-0.4651483719733302,
-0.4952254087173721,
0.774676376873553]
}
URL should be Region Based.