File tree 1 file changed +6
-0
lines changed
vertexai/batch_prediction
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ def submit(
115
115
input_dataset : Union [str , List [str ]],
116
116
* ,
117
117
output_uri_prefix : Optional [str ] = None ,
118
+ job_display_name : Optional [str ] = None ,
118
119
) -> "BatchPredictionJob" :
119
120
"""Submits a batch prediction job for a GenAI model.
120
121
@@ -137,6 +138,10 @@ def submit(
137
138
be used for GCS source and
138
139
f"bq://projectId.gen_ai_batch_prediction.predictions_{TIMESTAMP}"
139
140
will be used for BigQuery source.
141
+ job_display_name (str):
142
+ The user-defined name of the BatchPredictionJob.
143
+ The name can be up to 128 characters long and can be consist
144
+ of any UTF-8 characters.
140
145
141
146
Returns:
142
147
Instantiated BatchPredictionJob.
@@ -209,6 +214,7 @@ def submit(
209
214
try :
210
215
aiplatform_job = jobs .BatchPredictionJob .submit (
211
216
model_name = model_name ,
217
+ job_display_name = job_display_name ,
212
218
gcs_source = gcs_source ,
213
219
bigquery_source = bigquery_source ,
214
220
gcs_destination_prefix = gcs_destination_prefix ,
You can’t perform that action at this time.
0 commit comments