Skip to content
Merged
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
2 changes: 1 addition & 1 deletion model_garden/anthropic/anthropic_batchpredict_with_bq.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def generate_content(output_uri: str) -> str:
# output_uri = f"bq://your-project.your_dataset.your_table"

job = client.batches.create(
# anthropic BQ predicitions only work in us-east5
# Check Anthropic Claude region availability in https://cloud.devsite.corp.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude#regions
# More about Anthropic model: https://console.cloud.google.com/vertex-ai/publishers/anthropic/model-garden/claude-3-5-haiku
model="publishers/anthropic/models/claude-3-5-haiku",
# The source dataset needs to be created specifically in us-east5
Expand Down