From 52b9ade4a313035ac1fef29b46206d23d7ce2156 Mon Sep 17 00:00:00 2001 From: Holt Skinner <13262395+holtskinner@users.noreply.github.com> Date: Wed, 5 Feb 2025 12:40:06 -0600 Subject: [PATCH] chore: Update banners for notebooks (#1698) # Description - Update banners with links from Vertex AI SDK Notebooks to Gen AI SDK notebooks - Remove banner that says Gemini 2.0 Flash is experimental --- .../intro_research_multi_agents_gemini_2_0.ipynb | 12 ------------ ...ediction_using_bigquery_input_vertex_ai_sdk.ipynb | 4 ++-- .../intro_batch_prediction_vertex_ai_sdk.ipynb | 2 +- .../intro_context_caching_vertex_ai_sdk.ipynb | 2 +- .../intro_function_calling_vertex_ai_sdk.ipynb | 3 ++- .../intro_grounding_gemini_vertex_ai_sdk.ipynb | 2 +- .../intro_long_context_vertex_ai_sdk.ipynb | 2 +- .../prompts/intro_prompt_design_vertex_ai_sdk.ipynb | 2 +- .../gemini_safety_ratings_vertex_ai_sdk.ipynb | 2 +- 9 files changed, 10 insertions(+), 21 deletions(-) diff --git a/gemini/agents/research-multi-agents/intro_research_multi_agents_gemini_2_0.ipynb b/gemini/agents/research-multi-agents/intro_research_multi_agents_gemini_2_0.ipynb index d2fe438b6b8..49ab9d7b28a 100644 --- a/gemini/agents/research-multi-agents/intro_research_multi_agents_gemini_2_0.ipynb +++ b/gemini/agents/research-multi-agents/intro_research_multi_agents_gemini_2_0.ipynb @@ -97,18 +97,6 @@ "| Author(s) | [Lavi Nigam](https://github.com/lavinigam-gcp)|" ] }, - { - "cell_type": "markdown", - "metadata": { - "id": "CSt0qUR2Sg61" - }, - "source": [ - "
\n", - "\n", - "⚠️ Gemini 2.0 Flash (Model ID: gemini-2.0-flash-001) and the Google Gen AI SDK are currently experimental and output can vary ⚠️\n", - "
\n" - ] - }, { "cell_type": "markdown", "metadata": { diff --git a/gemini/batch-prediction/intro_batch_prediction_using_bigquery_input_vertex_ai_sdk.ipynb b/gemini/batch-prediction/intro_batch_prediction_using_bigquery_input_vertex_ai_sdk.ipynb index c112b17b4f6..f9ab8f7ea1e 100644 --- a/gemini/batch-prediction/intro_batch_prediction_using_bigquery_input_vertex_ai_sdk.ipynb +++ b/gemini/batch-prediction/intro_batch_prediction_using_bigquery_input_vertex_ai_sdk.ipynb @@ -31,8 +31,8 @@ "source": [ "# Intro to Batch Predictions with the Gemini API using BigQuery input\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [Intro to Gemini 2.0 Flash](https://github.com/GoogleCloudPlatform/generative-ai/blob/sdk-updates/gemini/getting-started/intro_gemini_2_0_flash.ipynb) which uses the Google Gen AI SDK.\n", - "\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/batch-prediction/intro_batch_prediction.ipynb) which uses the Google Gen AI SDK.\n", + "> \n", "\n", "
\n", " \n", diff --git a/gemini/batch-prediction/intro_batch_prediction_vertex_ai_sdk.ipynb b/gemini/batch-prediction/intro_batch_prediction_vertex_ai_sdk.ipynb index fe96d9ea4ae..cff7f70675e 100644 --- a/gemini/batch-prediction/intro_batch_prediction_vertex_ai_sdk.ipynb +++ b/gemini/batch-prediction/intro_batch_prediction_vertex_ai_sdk.ipynb @@ -31,7 +31,7 @@ "source": [ "# Intro to Batch Predictions with the Gemini API\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [Intro to Gemini 2.0 Flash](https://github.com/GoogleCloudPlatform/generative-ai/blob/sdk-updates/gemini/getting-started/intro_gemini_2_0_flash.ipynb) which uses the Google Gen AI SDK.\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/batch-prediction/intro_batch_prediction.ipynb) which uses the Google Gen AI SDK.\n", "\n", "\n", "
\n", diff --git a/gemini/context-caching/intro_context_caching_vertex_ai_sdk.ipynb b/gemini/context-caching/intro_context_caching_vertex_ai_sdk.ipynb index 3f1a0d8bb04..fcf5c06fdbf 100644 --- a/gemini/context-caching/intro_context_caching_vertex_ai_sdk.ipynb +++ b/gemini/context-caching/intro_context_caching_vertex_ai_sdk.ipynb @@ -31,7 +31,7 @@ "source": [ "# Intro to Context Caching with the Gemini API\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/controlled-generation/intro_controlled_generation.ipynb) which uses the Google Gen AI SDK.\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/context-caching/intro_context_caching.ipynb) which uses the Google Gen AI SDK.\n", "\n", "\n", "
\n", diff --git a/gemini/function-calling/intro_function_calling_vertex_ai_sdk.ipynb b/gemini/function-calling/intro_function_calling_vertex_ai_sdk.ipynb index 22dcba8a85b..d1547a6bbb5 100644 --- a/gemini/function-calling/intro_function_calling_vertex_ai_sdk.ipynb +++ b/gemini/function-calling/intro_function_calling_vertex_ai_sdk.ipynb @@ -31,7 +31,8 @@ "source": [ "# Intro to Function Calling with the Gemini API & Python SDK\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [Intro to Gemini 2.0 Flash](https://github.com/GoogleCloudPlatform/generative-ai/blob/sdk-updates/gemini/getting-started/intro_gemini_2_0_flash.ipynb) which uses the Google Gen AI SDK.\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/function-calling/intro_function_calling.ipynb) which uses the Google Gen AI SDK.\n", + "\n", "\n", "\n", "
\n", diff --git a/gemini/grounding/intro_grounding_gemini_vertex_ai_sdk.ipynb b/gemini/grounding/intro_grounding_gemini_vertex_ai_sdk.ipynb index 3618dffa787..e9f1c06918a 100644 --- a/gemini/grounding/intro_grounding_gemini_vertex_ai_sdk.ipynb +++ b/gemini/grounding/intro_grounding_gemini_vertex_ai_sdk.ipynb @@ -31,7 +31,7 @@ "source": [ "# Getting Started with Grounding with Gemini in Vertex AI\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/controlled-generation/intro_controlled_generation.ipynb) which uses the Google Gen AI SDK.\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/grounding/intro-grounding-gemini.ipynb) which uses the Google Gen AI SDK.\n", "\n", "\n", "
\n", diff --git a/gemini/long-context/intro_long_context_vertex_ai_sdk.ipynb b/gemini/long-context/intro_long_context_vertex_ai_sdk.ipynb index 828beda13c5..a3ad12425af 100644 --- a/gemini/long-context/intro_long_context_vertex_ai_sdk.ipynb +++ b/gemini/long-context/intro_long_context_vertex_ai_sdk.ipynb @@ -31,7 +31,7 @@ "source": [ "# Introduction to Long Context Window with Gemini on Vertex AI\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [Intro to Gemini 2.0 Flash](https://github.com/GoogleCloudPlatform/generative-ai/blob/sdk-updates/gemini/getting-started/intro_gemini_2_0_flash.ipynb) which uses the Google Gen AI SDK.\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/long-context/intro_long_context.ipynb) which uses the Google Gen AI SDK.\n", "\n", "\n", "
\n", diff --git a/gemini/prompts/intro_prompt_design_vertex_ai_sdk.ipynb b/gemini/prompts/intro_prompt_design_vertex_ai_sdk.ipynb index 6ff317eb5a0..7d06e6c85e0 100644 --- a/gemini/prompts/intro_prompt_design_vertex_ai_sdk.ipynb +++ b/gemini/prompts/intro_prompt_design_vertex_ai_sdk.ipynb @@ -31,7 +31,7 @@ "source": [ "# Prompt Design - Best Practices\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [Intro to Gemini 2.0 Flash](https://github.com/GoogleCloudPlatform/generative-ai/blob/sdk-updates/gemini/getting-started/intro_gemini_2_0_flash.ipynb) which uses the Google Gen AI SDK.\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/prompts/intro_prompt_design.ipynb) which uses the Google Gen AI SDK.\n", "\n", "\n", "
\n", diff --git a/gemini/responsible-ai/gemini_safety_ratings_vertex_ai_sdk.ipynb b/gemini/responsible-ai/gemini_safety_ratings_vertex_ai_sdk.ipynb index de4b2c93891..a4083f6cdb6 100644 --- a/gemini/responsible-ai/gemini_safety_ratings_vertex_ai_sdk.ipynb +++ b/gemini/responsible-ai/gemini_safety_ratings_vertex_ai_sdk.ipynb @@ -31,7 +31,7 @@ "source": [ "# Responsible AI with Gemini API in Vertex AI: Safety ratings and thresholds\n", "\n", - "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [Intro to Gemini 2.0 Flash](https://github.com/GoogleCloudPlatform/generative-ai/blob/sdk-updates/gemini/getting-started/intro_gemini_2_0_flash.ipynb) which uses the Google Gen AI SDK.\n", + "> **NOTE:** This notebook uses the Vertex AI SDK, which does not support Gemini 2.0; refer to [this updated notebook](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/responsible-ai/gemini_safety_ratings.ipynb) which uses the Google Gen AI SDK.\n", "\n", "\n", "
\n",