googleapis / googleapis/python-aiplatform

api_endpoint in `snippets` methods can be reconstructed from the `location` argument.

Aperta
#2,136 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
api: vertex-ai
Lingua principale
Python
Stelle
905
Fork
465
Merge medio
1g 13h
PR unite (30g)
44

Descrizione

As per the title, `api_endpoint` can be reconstructed from the `location` argument. This led to problems because if the model is deployed elsewhere the requests fail. Additionally, the `api_endpoint` meaning is a bit opaque since a user could assume that everything should work even if `location` and `api_endpoint` point to different regions (i.e. the endpoint is just a gateway).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.