Skip to content

Commit 043a007

Browse files
update comments
1 parent 427846f commit 043a007

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

genai/batch_prediction/submit_with_gcs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ def generate_content(output_uri: str) -> str:
2121

2222
client = genai.Client()
2323
# TODO(developer): Update and un-comment below line
24-
# output_uri = "gs://your-bucket/your-prefix/..."
24+
# output_uri = "gs://your-bucket/your-prefix"
2525

26+
# See the documentation: https://googleapis.github.io/python-genai/genai.html#genai.batches.Batches.create
2627
job = client.batches.create(
2728
model="gemini-1.5-pro-002",
2829
src="gs://cloud-samples-data/batch/prompt_for_batch_gemini_predict.jsonl",
@@ -60,5 +61,5 @@ def generate_content(output_uri: str) -> str:
6061

6162
if __name__ == "__main__":
6263
generate_content(
63-
output_uri="gs://your-bucket/your-prefix/..."
64+
output_uri="gs://your-bucket/your-prefix"
6465
)

0 commit comments

Comments
 (0)