We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ff152 commit c43d9a3Copy full SHA for c43d9a3
genai/batch_prediction/submit_with_gcs.py
@@ -26,8 +26,8 @@ def generate_content(output_uri: str) -> str:
26
# See the documentation: https://googleapis.github.io/python-genai/genai.html#genai.batches.Batches.create
27
job = client.batches.create(
28
model="gemini-1.5-pro-002",
29
-27: model="gemini-1.5-pro-002",
30
-28: src="gs://cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl", # Source link: https://storage.cloud.google.com/cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl
+ # Source link: https://storage.cloud.google.com/cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl
+ src="gs://cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl",
31
config={
32
"dest": output_uri
33
}
0 commit comments