Last active
February 26, 2026 16:51
-
-
Save jeffonelson/eec6de716685b60f0cce062b27087987 to your computer and use it in GitHub Desktop.
Use Gemini 3.0 Pro with BigQuery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Just replace <project_id> in the endpoint argument with your own project to run this query! | |
| SELECT | |
| title, | |
| medium, | |
| AI.GENERATE( | |
| 'Write a 1-sentence dramatic backstory for this object: ' || title || ' made of ' || medium, | |
| endpoint => 'https://aiplatform.googleapis.com/v1/projects/<project_id>/locations/global/publishers/google/models/gemini-3-pro-preview' | |
| ) AS ai_story | |
| FROM | |
| `bigquery-public-data.the_met.objects` | |
| WHERE | |
| department = 'Arms and Armor'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment