File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def generate_content(output_uri: str) -> str:
28
28
job = client .batches .create (
29
29
# To use a tuned model, set the model param to your tuned model using the following format:
30
30
# model="projects/{PROJECT_ID}/locations/{LOCATION}/models/{MODEL_ID}
31
- model = "gemini-2.0 -flash-001 " ,
31
+ model = "gemini-2.5 -flash" ,
32
32
src = "bq://storage-samples.generative_ai.batch_requests_for_multimodal_input" ,
33
33
config = CreateBatchJobConfig (dest = output_uri ),
34
34
)
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def generate_content(output_uri: str) -> str:
28
28
job = client .batches .create (
29
29
# To use a tuned model, set the model param to your tuned model using the following format:
30
30
# model="projects/{PROJECT_ID}/locations/{LOCATION}/models/{MODEL_ID}
31
- model = "gemini-2.0 -flash-001 " ,
31
+ model = "gemini-2.5 -flash" ,
32
32
# Source link: https://storage.cloud.google.com/cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl
33
33
src = "gs://cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl" ,
34
34
config = CreateBatchJobConfig (dest = output_uri ),
You can’t perform that action at this time.
0 commit comments