From fffd0dcc4c4ef03b33dd19987182263658f92634 Mon Sep 17 00:00:00 2001 From: Brad Miro Date: Mon, 18 May 2026 17:28:56 -0400 Subject: [PATCH 1/4] Update spark_data_science.ipynb --- self-paced-labs/data-science-spark/spark_data_science.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/self-paced-labs/data-science-spark/spark_data_science.ipynb b/self-paced-labs/data-science-spark/spark_data_science.ipynb index dd595d97b0..fcf2d82bdb 100644 --- a/self-paced-labs/data-science-spark/spark_data_science.ipynb +++ b/self-paced-labs/data-science-spark/spark_data_science.ipynb @@ -191,7 +191,7 @@ "id": "RVDKd--rJ-_H" }, "source": [ - "# **Task 3. Create a connection to Google Cloud Serverless for Apache Spark**\n", + "# **Task 3. Create a connection to Managed Service for Apache Spark**\n", "\n", "In this task, you use the Spark Connect client that connects to a serverless Spark session to run interactive Spark jobs by completing the following steps:\n", "\n", @@ -1030,7 +1030,7 @@ "from vertexai import agent_engines\n", "\n", "agent = Agent(\n", - " model=\"GEMINI_FLASH_MODEL_ID\",\n", + " model=\"gemini-2.5-flash\",\n", " name='purchase_prediction_agent',\n", " tools=[predict_purchase]\n", ")" From 98bde6cc2b690bf76f57ff6371e3ce674b38bca5 Mon Sep 17 00:00:00 2001 From: Brad Miro Date: Mon, 18 May 2026 18:57:28 -0400 Subject: [PATCH 2/4] Update spark_data_science.ipynb --- self-paced-labs/data-science-spark/spark_data_science.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/self-paced-labs/data-science-spark/spark_data_science.ipynb b/self-paced-labs/data-science-spark/spark_data_science.ipynb index fcf2d82bdb..52e1b56e6b 100644 --- a/self-paced-labs/data-science-spark/spark_data_science.ipynb +++ b/self-paced-labs/data-science-spark/spark_data_science.ipynb @@ -1015,7 +1015,9 @@ "id": "pqzoNsHpVI4_" }, "source": [ - "Using the ADK, define an agent below and provide the `predict_purchase` function as a tool." + "Using the ADK, define an agent below and provide the `predict_purchase` function as a tool.", + "\n", + "Refer to **Task 11: Configure an agent** in the Lab for replacing the `GEMINI_FLASH_MODEL_ID` variable." ] }, { @@ -1030,7 +1032,7 @@ "from vertexai import agent_engines\n", "\n", "agent = Agent(\n", - " model=\"gemini-2.5-flash\",\n", + " model=\"GEMINI_FLASH_MODEL_ID\",\n", " name='purchase_prediction_agent',\n", " tools=[predict_purchase]\n", ")" From ced906159823f42774afe513e64781d58468cc87 Mon Sep 17 00:00:00 2001 From: Brad Miro Date: Mon, 18 May 2026 18:59:55 -0400 Subject: [PATCH 3/4] Update spark_data_science.ipynb --- self-paced-labs/data-science-spark/spark_data_science.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/self-paced-labs/data-science-spark/spark_data_science.ipynb b/self-paced-labs/data-science-spark/spark_data_science.ipynb index 52e1b56e6b..d14d212132 100644 --- a/self-paced-labs/data-science-spark/spark_data_science.ipynb +++ b/self-paced-labs/data-science-spark/spark_data_science.ipynb @@ -1015,7 +1015,7 @@ "id": "pqzoNsHpVI4_" }, "source": [ - "Using the ADK, define an agent below and provide the `predict_purchase` function as a tool.", + "Using the ADK, define an agent below and provide the `predict_purchase` function as a tool.\n", "\n", "Refer to **Task 11: Configure an agent** in the Lab for replacing the `GEMINI_FLASH_MODEL_ID` variable." ] From 1148670f2ec485368f75932586a494c4b283d706 Mon Sep 17 00:00:00 2001 From: Brad Miro Date: Mon, 18 May 2026 19:00:31 -0400 Subject: [PATCH 4/4] Update spark_data_science.ipynb --- self-paced-labs/data-science-spark/spark_data_science.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/self-paced-labs/data-science-spark/spark_data_science.ipynb b/self-paced-labs/data-science-spark/spark_data_science.ipynb index d14d212132..1408f94224 100644 --- a/self-paced-labs/data-science-spark/spark_data_science.ipynb +++ b/self-paced-labs/data-science-spark/spark_data_science.ipynb @@ -191,7 +191,7 @@ "id": "RVDKd--rJ-_H" }, "source": [ - "# **Task 3. Create a connection to Managed Service for Apache Spark**\n", + "# **Task 3. Create a connection to Managed Service for Apache Spark serverless**\n", "\n", "In this task, you use the Spark Connect client that connects to a serverless Spark session to run interactive Spark jobs by completing the following steps:\n", "\n",