Skip to content
Theme
OnDevice Tools

SoftwareCloud & Services

BigQuery AI.AGG reaches general availability now

Google said the BigQuery AI.AGG tool is now broadly available for converting messy text and media into query ready insights.

Illustration of a Google data centre server rack for BigQuery AI.AGG structured SQL analysis

Key takeaways

  • BigQuery AI.AGG is now generally available.
  • Structured output support returns defined fields for SQL use.
  • Token based controls aim to make AI aggregation more predictable.
  • The feature supports uses such as logs, feedback and support chats.
In this article
  1. What changed
  2. Structured output
  3. Who is affected
  4. Best practices and next steps

What changed

Illustration: Google logo, AI, cloud, Google Cloud logo and the labels Google Cloud, SQL, Structured Output

Google Cloud Blog reports that BigQuery AI.AGG has reached general availability. The announcement came in December 2026. The tool helps data teams use SQL to ask questions about text and other media. According to the blog, it was first offered in preview and is now broadly available.

Google said the function moved from preview to general availability. The blog described it as a way to turn messy text and media into query ready insights. The source has not been independently verified.

The release added custom structured output support. It also included token based controls. The blog said this can help teams build reliable semantic aggregation pipelines from SQL.

Structured output

The structured output feature uses Gemini models. It can return defined fields instead of a free form answer. Fields may include text, numbers, booleans or lists. The blog said this helps queries, joins and dashboards.

The output_schema parameter was shown in examples. It can create nested structures. One example covered a component with several issues and occurrence counts.

Who is affected

The feature may affect data teams, analysts and engineers. Support teams may also use it for monitoring. The blog said the work was aimed at automated pipelines and business intelligence tools.

The approach could change how some groups handle large data sets. It may reduce the need for custom application code.

Best practices and next steps

The blog shared four best practices for better results. It said required fields should not be blank. It suggested adding a short example in the prompt. It said formatting rules could go in the schema description.

The team noted a limit for list answers. AI.AGG caps each group response at 10,000 tokens. Users can ask for a specific number of items.

Sources

  1. Turn unstructured data into structured SQL insights with BigQuery AI.AGG (now GA)Google Cloud Blog

Tags

Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.