You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+21-3
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,29 @@ Vertex AI SDK for Python
5
5
Gemini API and Generative AI on Vertex AI
6
6
-----------------------------------------
7
7
8
-
.. note::
8
+
> [!IMPORTANT]
9
9
10
-
For Gemini API and Generative AI on Vertex AI, please reference `Vertex Generative AI SDK for Python`_
10
+
> For Gemini API and Generative AI on Vertex AI, please reference `Vertex Generative AI SDK for Python`_
11
11
.. _Vertex Generative AI SDK for Python: https://cloud.google.com/vertex-ai/generative-ai/docs/reference/python/latest
12
-
12
+
From Gemini 2.0 onwards this SDK will no longer be developing new Gemini API
13
+
features. Any new Gemini API code should be written using the new SDK, `google-genai` ([github](https://github.com/googleapis/python-genai), [pypi](https://pypi.org/project/google-genai/)). See the migration guide below to upgrade to the new SDK.
14
+
15
+
# Upgrade the Google GenAI SDK for Python
16
+
17
+
With Gemini 2 we are offering a [new SDK](https://github.com/googleapis/python-genai)
18
+
([google-genai](https://pypi.org/project/google-genai/)). The updated SDK is fully compatible with all Gemini API models and features, including recent additions like the [live API](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/multimodal-live#get-started) (audio + video streaming), improved tool usage (
0 commit comments