Skip to content

Commit

Permalink
refactor: Update the batch prediction API namespace (GoogleCloudPlatf…
Browse files Browse the repository at this point in the history
…orm#1365)

# Description

Update the batch prediction API namespace. 
The new API is available in Vertex AI SDK for Python 1.71.0.
  • Loading branch information
gericdong authored and inardini committed Dec 7, 2024
1 parent 0d0c6f1 commit 9923f72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gemini/batch-prediction/intro_batch_prediction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"\n",
"from google.cloud import storage\n",
"from vertexai.generative_models import GenerativeModel\n",
"from vertexai.preview.batch_prediction import BatchPredictionJob"
"from vertexai.batch_prediction import BatchPredictionJob"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@
"\n",
"from google.cloud import bigquery\n",
"import vertexai\n",
"from vertexai.generative_models import GenerativeModel\n",
"from vertexai.preview.batch_prediction import BatchPredictionJob"
"from vertexai.batch_prediction import BatchPredictionJob\n",
"from vertexai.generative_models import GenerativeModel"
]
},
{
Expand Down

0 comments on commit 9923f72

Please sign in to comment.