If you have a DataFrame, you can run Gemini on all of the rows using BigQuery.
import bigframes.bigquery as bbq
movies['title'] = bbq.ai.generate(
("What is the movie title for this poster?", movies['poster'])).struct.field("result")
medium.com/google-cloud/a…
Python Software Friendliness Engineer @googlecloud a.k.a. @TimSwast. Views expressed here are my own. (he/him)
@[email protected]


