File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
generative_ai/batch_predict Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414import os
1515
16- from vertexai .preview . batch_prediction import BatchPredictionJob
16+ from vertexai .batch_prediction import BatchPredictionJob
1717
1818PROJECT_ID = os .getenv ("GOOGLE_CLOUD_PROJECT" )
1919
@@ -36,7 +36,7 @@ def batch_predict_gemini_createjob(
3636 import time
3737 import vertexai
3838
39- from vertexai .preview . batch_prediction import BatchPredictionJob
39+ from vertexai .batch_prediction import BatchPredictionJob
4040
4141 # TODO(developer): Update and un-comment below lines
4242 # input_uri ="gs://[BUCKET]/[OUTPUT].jsonl" # Example
@@ -77,7 +77,6 @@ def batch_predict_gemini_createjob(
7777 # https://storage.googleapis.com/cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl
7878
7979 return batch_prediction_job
80-
8180 # [END generativeaionvertexai_batch_predict_gemini_createjob]
8281
8382
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ pandas==2.0.3; python_version == '3.8'
33pandas == 2.1.4 ; python_version > '3.8'
44pillow == 10.3.0 ; python_version < '3.8'
55pillow == 10.3.0 ; python_version >= '3.8'
6- google-cloud-aiplatform [all ]== 1.69 .0
6+ google-cloud-aiplatform [all ]== 1.71 .0
77sentencepiece == 0.2.0
88google-auth == 2.29.0
99anthropic [vertex ]== 0.28.0
You can’t perform that action at this time.
0 commit comments