googleapis / googleapis/python-aiplatform
Introduce a non-global Vertex AI client
Open
api: vertex-ai
type: feature request
- Dominant language
- Python
- Stars
- 905
- Forks
- 465
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 44
Description
Currently, vertexai.init() sets global variables which is a limit in a multithreaded environment when you want to serve different models to the corresponding available regions. Having an instantiable client (as in your nodejs [client](https://cloud.google.com/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/vertexai) would solve the problem)
Contributor guide
Assessment
This issue has not been assessed yet.