@@ -2273,24 +2273,27 @@ def batch_predict(
2273
2273
which as value has ```google.rpc.Status`` <Status>`__
2274
2274
containing only ``code`` and ``message`` fields.
2275
2275
bigquery_destination_prefix: Optional[str] = None
2276
- The BigQuery project location where the output is to be
2277
- written to. In the given project a new dataset is created
2278
- with name
2279
- ``prediction_<model-display-name>_<job-create-time>`` where
2280
- is made BigQuery-dataset-name compatible (for example, most
2281
- special characters become underscores), and timestamp is in
2282
- YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the
2283
- dataset two tables will be created, ``predictions``, and
2284
- ``errors``. If the Model has both ``instance`` and ``prediction``
2285
- schemata defined then the tables have columns as follows:
2286
- The ``predictions`` table contains instances for which the
2287
- prediction succeeded, it has columns as per a concatenation
2288
- of the Model's instance and prediction schemata. The
2289
- ``errors`` table contains rows for which the prediction has
2290
- failed, it has instance columns, as per the instance schema,
2291
- followed by a single "errors" column, which as values has
2292
- ```google.rpc.Status`` <Status>`__ represented as a STRUCT,
2293
- and containing only ``code`` and ``message``.
2276
+ The BigQuery URI to a project or table, up to 2000 characters long.
2277
+ When only the project is specified, the Dataset and Table is created.
2278
+ When the full table reference is specified, the Dataset must exist and
2279
+ table must not exist. Accepted forms: ``bq://projectId`` or
2280
+ ``bq://projectId.bqDatasetId`` or
2281
+ ``bq://projectId.bqDatasetId.bqTableId``. If no Dataset is specified,
2282
+ a new one is created with the name
2283
+ ``prediction_<model-display-name>_<job-create-time>``
2284
+ where the table name is made BigQuery-dataset-name compatible
2285
+ (for example, most special characters become underscores), and
2286
+ timestamp is in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601"
2287
+ format. In the dataset two tables will be created, ``predictions``,
2288
+ and ``errors``. If the Model has both ``instance`` and
2289
+ ``prediction`` schemata defined then the tables have columns as
2290
+ follows: The ``predictions`` table contains instances for which
2291
+ the prediction succeeded, it has columns as per a concatenation
2292
+ of the Model's instance and prediction schemata. The ``errors``
2293
+ table contains rows for which the prediction has failed, it has
2294
+ instance columns, as per the instance schema, followed by a single
2295
+ "errors" column, which as values has ```google.rpc.Status`` <Status>`__
2296
+ represented as a STRUCT, and containing only ``code`` and ``message``.
2294
2297
predictions_format: str = "jsonl"
2295
2298
Required. The format in which Vertex AI outputs the
2296
2299
predictions, must be one of the formats specified in
0 commit comments