This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
The vertexai package on pypi hasn't been updated since Oct 2024
The pypi GitHub URL points to this repo but the repo points to a different pypi url with a different package name (google-cloud-aiplatform)
The README for google-cloud-aiplatform points to this doc which has us `pip3 install --upgrade --user "google-cloud-aiplatform>=1.38"` then `import vertexai`
The same doc points to a quick start that no longer mentions either prior package for Python, advising us to `pip install --upgrade google-genai`
Vertex AI release notes continue to be updated and they mention Generative AI on Vertex AI release notes which has an SDK tab available on that page. Tapping it shows us how to install google-genai on PyPI and we can see on a left menu that this is distinct from the previously mentioned `google-cloud-aiplatform` (called Vertex AI SDK or google-cloud-vertexai on the left menu).
I don't need the 1.x series but I'd like to be able to switch between the 1.5 series and 2.0+ series for cost reasons. Seems like I should go for `google-genai` as the most stable option going forward...?