Home›Gemini / Gemma›BigQuery AI.AGGで非構造化データをSQLの構造化インサイトに変換(一般提供開始)
Turn unstructured data into structured SQL insights with BigQuery AI.AGG (now GA)

BigQuery AI.AGGで非構造化データをSQLの構造化インサイトに変換(一般提供開始)Turn unstructured data into structured SQL insights with BigQuery AI.AGG (now GA)

元記事を読むRead original articlecloud.google.com(新しいタブで開きます)(opens in a new tab)
AI 要約AI summary

BigQueryのAI.AGG()が一般提供となり、プレビューで要望の多かったカスタム構造化出力に対応し、トークンベースのコスト管理も加わった。SQLだけで予測しやすい本番向けのセマンティック集計を構築できる。

BigQuery's AI.AGG() is now generally available with custom structured output and token-based cost controls, letting data teams build predictable, production-grade semantic aggregation in plain SQL.

AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (cloud.google.com) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (cloud.google.com).

BigQueryのAI.AGG()関数が一般提供(GA)となった。GAに合わせてカスタム構造化出力に対応し、トークンベースのコスト管理も加わったことで、SQLだけで本番向けのセマンティック集計を組み立てやすくなると説明されている。

AI.AGG()が一般提供に

AI.AGG()は、Geminiモデルを使い、SQLの集計を非構造化テキストやマルチモーダルデータに持ち込む関数だ。自然言語による指示を渡して使う。プレビュー版の導入以降、データチームはこの関数で数百万行規模の非構造化テキストやマルチモーダルデータをSQL上で直接統合してきたという。用途の例としては、プロダクトに寄せられたフィードバックの要約や、アプリケーションログの調査が挙げられている。

カスタム構造化出力

GAと同時に、カスタム構造化出力のサポートが提供された。これはプレビュー利用者から特に要望の多かった機能の一つとされる。タイトルにある「非構造化データをSQLの構造化インサイトに変換する」という流れは、自由形式のテキストから構造化された出力へ移行するという考え方に沿っている。集計結果を扱いやすい形で得られる点が、この機能の位置づけだ。

トークンベースのコスト管理

BigQueryには、新たにトークンベースのコスト管理コントロールも用意された。これと構造化出力を組み合わせることで、予測しやすく、本番利用に耐えるセマンティック集計パイプラインをSQLから直接構築できるとされる。

プレビュー段階で試されてきた用途に、出力の構造化とコスト面の管理という二つの要素が加わった形だ。AI.AGG()は、実験的な利用から継続的な運用を見据えた利用へ進める段階に入ったといえる。

AI.AGG() reaches general availability

BigQuery's AI.AGG() function is now generally available, which matters for data teams that want to turn unstructured text and multimodal data into usable results without leaving SQL. According to the announcement, teams have used the function since its Preview to synthesize millions of rows of unstructured text and multimodal data directly in SQL, with examples such as distilling product feedback and investigating application logs.

The source describes AI.AGG() as using Gemini models to bring SQL aggregation to unstructured text and multimodal data. The idea is that you can pass natural language instructions to the function, so that aggregation across many rows is guided by plain-language direction rather than only by conventional numeric operations.

Custom structured output support

Alongside the GA release, the announcement says one of the most requested capabilities from Preview users has been rolled out: custom structured output support. The section of the article that introduces it is framed around moving from free-form text to structured outputs. In other words, the aim is for aggregated results to come back in a defined, structured shape instead of as open-ended prose.

The source presents this as a direct response to preview feedback. The headline for the piece describes the goal as converting unstructured data into structured insights in SQL.

Token-based cost management

The GA release is also paired with what the announcement calls BigQuery's new token-based cost management controls. According to the source, combining these controls with custom structured output means you can now build predictable, production-ready semantic aggregation pipelines straight from SQL.

The emphasis on predictability suggests the cost controls are meant to help teams plan and bound usage when running these AI-driven aggregations at scale, though the source text provided here does not spell out how the controls are configured.

What changes for data teams

Taken together, the announcement frames three changes: AI.AGG() moving from Preview to general availability, support for custom structured output, and token-based cost controls. The stated outcome is that data teams can build semantic aggregation in plain SQL that is both production-grade and more predictable in cost. Further specifics, such as syntax or configuration details, are not covered in the material available here.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPokoAI.AGG()って、SQLの集計と何が違うの?今回いちばん大きな変化はどこ?What makes AI.AGG() different from normal SQL aggregation? And what's the biggest change this time?
  2. TECHガイドTECH GuideGeminiモデルを使って、テキストやマルチモーダルデータを集計できる関数だよ。今回は一般提供になって、要望が多かったカスタム構造化出力にも対応したんだ。It uses Gemini models to aggregate unstructured text and multimodal data. It's now GA, and it added custom structured output, one of the most requested features from preview users.
  3. ポコPokoじゃあ、たくさんの文章をSQLのまま要約できるってこと?どんな人が助かるのかな。So you can summarize lots of text right in SQL? Who would find that helpful?
  4. TECHガイドTECH Guideこの記事では、データチームが製品フィードバックの整理やアプリログの調査に使ってきたと紹介されているよ。数百万行でもSQLの中で扱えるのがポイントだね。The article says data teams have used it to distill product feedback and investigate app logs. Handling millions of rows directly in SQL is the key point.
  5. ポコPoko自由な文章が、決まった形の結果になるのが嬉しいんだね。コストの管理もできるの?So free-form text becomes results in a set shape, nice. Can you manage costs too?
  6. TECHガイドTECH Guideうん、トークンベースのコスト管理も加わったよ。ただ、細かい設定や運用の詳しい中身は、実際に確認してみてね。Yes, token-based cost controls were added too. For the finer settings and how it works in practice, you'll want to check the details yourself.
記事情報・収集記録Article details & collection record
出典Source
Google Cloud Blog公式Official
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
英語English
重要度の位置づけImportance in this lane
MediumMedium priority(Gemini / Gemma 151件中、同等以上 151件)(151 of 151 Gemini / Gemma entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
2.1 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
長期 (アーキテクチャ)Long-term (architecture)

✨Gemini / Gemma の他の記事More from Gemini / Gemmaもっと見る →View more →

ページ上部へScroll to top