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 37142a7 commit 24ff152Copy full SHA for 24ff152
genai/batch_prediction/submit_with_gcs.py
@@ -26,7 +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
- src="gs://cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl",
+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
31
config={
32
"dest": output_uri
33
}
0 commit comments