Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions google/genai/batches.py
Original file line number Diff line number Diff line change
Expand Up @@ -1933,14 +1933,15 @@ def list(
def create(
self,
*,
model: str,
model: str | None,
src: types.BatchJobSourceUnionDict,
config: Optional[types.CreateBatchJobConfigOrDict] = None,
) -> types.BatchJob:
"""Creates a batch job.

Args:
model (str): The model to use for the batch job.
model (str|None): The model to use for the batch job. If the model is
None, you must specify the model in the request contained within src.
src: The source of the batch job. Currently Vertex AI supports GCS URI(-s)
or BigQuery URI. Example: "gs://path/to/input/data" or
"bq://projectId.bqDatasetId.bqTableId". Gemini Developer API supports
Expand Down