Change
b21e2d9
b21e2d9fc1df323823f3b1792d02c2f06aa70f6c · commit on GitHub
gcloud-blog-feed: changed (614380 bytes, HTTP 200)
raw/gcloud-blog-feed/response.xml modified
- Source
- gcloud-blog-feed
- Lines added
- +73
- Lines removed
- -142
- Stored bytes at this commit
- 614,380
- Timestamp
- observed
- Raw artifact at this commit
- raw/gcloud-blog-feed/response.xml
Recorded headers
| observed_at | 2026-12-04T01:05:23.675Z |
|---|---|
| origin_date | null |
| status | 200 |
| final URL | https://cloudblog.withgoogle.com/products/ai-machine-learning/rss/ |
| etag | null |
| last-modified | null |
| date | Fri, 04 Dec 2026 01:05:23 GMT |
| age | null |
| cache-control | public, max-age=600, s-maxage=600 |
| cf-cache-status | null |
| content-encoding | gzip |
| content-length | 150578 |
@
@@ -1,5 +1,33 @@<?xml version="1.0" encoding="utf-8"?>-
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>AI & Machine Learning</title><link>https://cloud.google.com/blog/products/a…+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>AI & Machine Learning</title><link>https://cloud.google.com/blog/products/a…+
<p><span style="vertical-align: baseline;">In 2021, persistent power and infrastructure challenges at a rural data center prompted Myralis to become the first Brazilian pharmaceutical enterprise to move its SAP system to Google Cloud, to bring resilience and savings to their operations, …+
<p><span style="vertical-align: baseline;">The success of that first project inspired an ambitious data and artificial intelligence modernization journey. This work could not have come at a more opportune time, given an upcoming reorganization of the Brazilian tax code that will require …+
<h3><span style="vertical-align: baseline;">Healing our fragmented data architecture</span></h3>+
<p><span style="vertical-align: baseline;">Before adopting modern data solutions, Myralis operated on a fragmented architecture. We maintained distinct environments for our core SAP ERP data and legacy marketing and sales data. This separation divided technology resources and required te…+
<p><span style="vertical-align: baseline;">To solve this fragmentation, Myralis partnered closely with Google Cloud in 2022 to implement </span><a href="https://cloud.google.com/solutions/cortex"><span style="text-decoration: underline; vertical-align: baseline;">Cortex…+
<p><span style="vertical-align: baseline;">Centralizing SAP and commercial data into </span><a href="https://cloud.google.com/bigquery"><span style="text-decoration: underline; vertical-align: baseline;">BigQuery</span></a><span style="vertical-align: bas…+
<h3><span style="vertical-align: baseline;">Accelerating AI innovation with Cortex Framework 7 and Gemini</span></h3>+
<p><span style="vertical-align: baseline;">Upgrading to </span><a href="https://cloud.google.com/blog/products/sap-google-cloud/cortex-framework-v7-power-ai-agents-with-sap-data-faster"><span style="text-decoration: underline; vertical-align: baseline;">Cortex Framework…+
<p><span style="vertical-align: baseline;">This architectural evolution positively impacted our operational metrics across key business functions:</span></p>+
<ul>+
<li aria-level="1" style="list-style-type: disc; vertical-align: baseline;">+
<p role="presentation"><strong style="vertical-align: baseline;">Supply Chain Velocity:</strong><span style="vertical-align: baseline;"> Procurement and supply chain teams reduced information processing cycles from one full week down to a single day using Cortex Framework dat…+
</li>+
<li aria-level="1" style="list-style-type: disc; vertical-align: baseline;">+
<p role="presentation"><strong style="vertical-align: baseline;">Commercial Performance:</strong><span style="vertical-align: baseline;"> When launching a new pharmaceutical product, Myralis deployed a Gemini-powered agent to assist field sales representatives. By analyzing d…+
</li>+
<li aria-level="1" style="list-style-type: disc; vertical-align: baseline;">+
<p role="presentation"><strong style="vertical-align: baseline;">Financial Processes:</strong><span style="vertical-align: baseline;"> The finance department integrated Gemini and Luria to accelerate verification, adjustments, and monthly accounting closes.</span></p…+
</li>+
</ul>+
<p><span style="vertical-align: baseline;">We have also seen success in our sales department. When we launched a new medicine, we built an AI agent using Gemini Enterprise to help our sales team. Agents use the tool to analyze doctors' habits in BigQuery and determine the best sales appr…+
<h3><span style="vertical-align: baseline;">Navigating Brazil's historic tax transformation</span></h3>+
<p><span style="vertical-align: baseline;">Today, we are facing the biggest tax transformation in Brazil in 30 years. The government is proposing a simplification that will make companies calculate and pay taxes at the exact moment of a sale, which will in turn require a complete refacto…+
<p><span style="vertical-align: baseline;">Because final regulatory rules and calculation values remain unfinalized by government authorities, Myralis chose not to modify its underlying ERP code directly. Instead, we’re using Cortex Framework 7 data products to build dynamic models capab…+
<p><span style="vertical-align: baseline;">Using Cortex Framework 7 data products is proving to be a unique way to respond rapidly to this regulatory shift without causing severe monetary or operational impacts. Executing these transformations outside of SAP guarantees that we maintain a…+
<h3><span style="vertical-align: baseline;">Eradicating shadow IT through co-creation</span></h3>+
<p><span style="vertical-align: baseline;">Today, our entire data and AI architecture runs on Google Cloud services like BigQuery, Cortex Framework and Gemini. Because all our systems are unified, our technology team can deliver AI solutions so quickly that our business areas see immedia…+
<p><span style="vertical-align: baseline;">Google Cloud is more than just a vendor to us. They are a true partner that doesn’t just sell us solutions. They sit with us every day to understand our challenges and create solutions collaboratively. Pharmaceutical companies in Brazil haven't …<p><span style="vertical-align: baseline;">Today, we are expanding conversational analytics to Google's cloud-native, non-relational database services: </span><a href="https://cloud.google.com/bigtable"><strong style="text-decoration: underline; vertical-align: baseline;"&…<p><span style="vertical-align: baseline;">Available in preview for </span><strong style="vertical-align: baseline;">Bigtable </strong><span style="vertical-align: baseline;">and </span><strong style="vertical-align: baseline;">Firestore</strong>…<h2><strong style="vertical-align: baseline;">Bridging natural language to NoSQL</strong></h2>@
@@ -112,7 +140,7 @@<p><span style="vertical-align: baseline;">Our API allows developers to submit natural language prompts and receive syntactically verified, read-only database queries alongside synthesized answers and execution explanations.</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;POST https://geminidataanalytics.googleapis.com/v1beta/projects/my-project/locations/us-central1:queryData\r\n{\r\n &quot;prompt&quot;: &quot;Show the top 5 customers with the highest transaction volume …+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;POST https://geminidataanalytics.googleapis.com/v1beta/projects/my-project/locations/us-central1:queryData\r\n{\r\n &quot;prompt&quot;: &quot;Show the top 5 customers with the highest transaction volume …</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">2. Context engineering for high precision</strong></h3><p><span style="vertical-align: baseline;">LLM-generated code often stumbles on ambiguous domain terminology. Conversational Analytics addresses this with:</span></p>@
@@ -398,7 +426,7 @@<p><span style="font-style: italic; vertical-align: baseline;">Gold Standard Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT prod_name, prod_sale_rev_fy25 FROM sales WHERE region = &#x27;NA&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT prod_name, prod_sale_rev_fy25 FROM sales WHERE region = &#x27;NA&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">Gold Result Set:</span></p><div align="left">@
@@ -458,7 +486,7 @@<p><span style="font-style: italic; vertical-align: baseline;">LLM Predicted Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SELECT prod_name AS &quot;Product Name&quot;, prod_sale_rev_fy25 AS &quot;Revenue FY2025&quot; FROM sales WHERE region = \&#x27;NA\&#x27;;&#x27;), (&#x27;language&#x27;, &#x27;…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SELECT prod_name AS &quot;Product Name&quot;, prod_sale_rev_fy25 AS &quot;Revenue FY2025&quot; FROM sales WHERE region = \&#x27;NA\&#x27;;&#x27;), (&#x27;language&#x27;, &#x27;…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">LLM Result Set:</span></p><div align="left">@
@@ -521,7 +549,7 @@<p><span style="font-style: italic; vertical-align: baseline;">Gold Standard Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT user_id, email, last_login FROM users WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichTe…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT user_id, email, last_login FROM users WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichTe…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">Gold Result Set:</span></p><div align="left">@
@@ -590,7 +618,7 @@<p><span style="font-style: italic; vertical-align: baseline;">LLM Predicted Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT email, last_login, user_id FROM users WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_tex…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT email, last_login, user_id FROM users WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_tex…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">LLM Result Set:</span></p><div align="left">@
@@ -662,7 +690,7 @@<p><span style="font-style: italic; vertical-align: baseline;">Gold Standard Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT ticket_id, priority FROM support_tickets WHERE assignee = &#x27;abc&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_t…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT ticket_id, priority FROM support_tickets WHERE assignee = &#x27;abc&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_t…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">Gold Result Set:</span></p><div align="left">@
@@ -730,7 +758,7 @@<p><span style="font-style: italic; vertical-align: baseline;">LLM Predicted Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT ticket_id, priority FROM support_tickets WHERE assignee = &#x27;abc&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_t…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT ticket_id, priority FROM support_tickets WHERE assignee = &#x27;abc&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_t…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">LLM Result Set:</span></p><div align="left">@
@@ -801,7 +829,7 @@<p><span style="font-style: italic; vertical-align: baseline;">Gold Standard Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SELECT item, CAST(price AS DECIMAL(10, 2)) as price FROM products;&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fafdb…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SELECT item, CAST(price AS DECIMAL(10, 2)) as price FROM products;&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fbfaf…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">Gold Result Set:</span></p><div align="left">@
@@ -861,7 +889,7 @@<p><span style="font-style: italic; vertical-align: baseline;">LLM Predicted Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SELECT item, price FROM products;&#x27;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fafe0fc7550&gt;)])]&gt…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SELECT item, price FROM products;&#x27;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fbfaf023910&gt;)])]&gt…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">LLM Result Set:</span></p><div align="left">@
@@ -924,7 +952,7 @@<p><span style="font-style: italic; vertical-align: baseline;">Gold Standard Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT project_name FROM projects WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText …+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT project_name FROM projects WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText …</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">Gold Result Set:</span></p><div align="left">@
@@ -975,7 +1003,7 @@<p><span style="font-style: italic; vertical-align: baseline;">LLM Predicted Query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT project_name, project_lead, due_date FROM projects WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wag…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT project_name, project_lead, due_date FROM projects WHERE status = &#x27;active&#x27;;&quot;), (&#x27;language&#x27;, &#x27;lang-sql&#x27;), (&#x27;caption&#x27;, &lt;wag…</dl></div><div class="block-paragraph_advanced"><p><span style="font-style: italic; vertical-align: baseline;">LLM Result Set:</span></p><div align="left">@
@@ -1115,7 +1143,7 @@<p><span style="vertical-align: baseline;">The following code shows a sample implementation to configure imports and a class to normalize standard value in </span><code style="vertical-align: baseline;">nl2sql_custom_metric.py</code>:</p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;import collections\r\nfrom datetime import date, datetime\r\nfrom decimal import Decimal\r\nimport itertools\r\nfrom typing import Any\r\n\r\nfrom google.adk.evaluation.eval_case import ConversationScenario, Invocati…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;import collections\r\nfrom datetime import date, datetime\r\nfrom decimal import Decimal\r\nimport itertools\r\nfrom typing import Any\r\n\r\nfrom google.adk.evaluation.eval_case import ConversationScenario, Invocati…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">2. Shape validation and column alignment by value counts </strong></h3><p><span style="vertical-align: baseline;">To implement the evaluate method, perform the following actions:</span></p>@
@@ -1137,14 +1165,14 @@<p><span style="vertical-align: baseline;">The following code shows a sample implementation to shape validation and column alignment in </span><code style="vertical-align: baseline;">nl2sql_custom_metric.py</code>:</p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;def evaluate(\r\n self, gold: list[dict[str, Any]], pred: list[dict[str, Any]], allow_superset: bool = True\r\n ) -&gt; tuple[bool, str]:\r\n if not gold and not pred:\r\n return True, &quot;Bot…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;def evaluate(\r\n self, gold: list[dict[str, Any]], pred: list[dict[str, Any]], allow_superset: bool = True\r\n ) -&gt; tuple[bool, str]:\r\n if not gold and not pred:\r\n return True, &quot;Bot…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">3. One-to-one column mapping and row hashing</strong></h3><p><span style="vertical-align: baseline;">Matching individual column value counts is necessary but not sufficient, because values across columns must also stay aligned in each row. To resolve </span><strong style="vertical-align: baseline;">complexity 2, the column permutati…<p><span style="vertical-align: baseline;">The following code shows a sample implementation to configure one-to-one column mapping and row hashing in </span><code style="vertical-align: baseline;">nl2sql_custom_metric.py</code>:</p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gold_counter = collections.Counter(tuple(r) for r in g_mat)\r\n for mapping in itertools.product(*candidates):\r\n if len(set(mapping)) == k:\r\n if collections.Counter(tuple(r[i] for i in mapping) for…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gold_counter = collections.Counter(tuple(r) for r in g_mat)\r\n for mapping in itertools.product(*candidates):\r\n if len(set(mapping)) == k:\r\n if collections.Counter(tuple(r[i] for i in mapping) for…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">4. Wrap the evaluator as an ADK custom metric</strong></h3><p><span style="vertical-align: baseline;">To prepare the </span><code style="vertical-align: baseline;">SemanticSQLEvaluator</code><span style="vertical-align: baseline;"> class</span><span style="vertical-align: baseline;"> into ADK, use the </spa…@
@@ -1164,26 +1192,26 @@<p><span style="vertical-align: baseline;">The following code shows a sample implementation to wrap the evaluator as an ADK custom metric in </span><code style="vertical-align: baseline;">nl2sql_custom_metric.py</code>:</p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;def _extract_rows(inv: Invocation) -&gt; list[dict[str, Any]]:\r\n for resp in reversed(get_all_tool_responses(inv.intermediate_data)):\r\n if resp.name == &quot;execute_sql_query&quot; and resp.respo…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;def _extract_rows(inv: Invocation) -&gt; list[dict[str, Any]]:\r\n for resp in reversed(get_all_tool_responses(inv.intermediate_data)):\r\n if resp.name == &quot;execute_sql_query&quot; and resp.respo…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">5. Register the custom metric</strong></h3><p><span style="vertical-align: baseline;">To register the </span><code style="vertical-align: baseline;">semantic_sql_result_match</code><span style="vertical-align: baseline;"> metric</span><span style="vertical-align: baseline;"> inside your </sp…<p><span style="vertical-align: baseline;">The following code shows a sample implementation to register the custom metric in </span><code style="vertical-align: baseline;">eval_config.json</code>:</p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;{\r\n &quot;criteria&quot;: {\r\n &quot;tool_trajectory_avg_score&quot;: {\r\n &quot;threshold&quot;: 1.0,\r\n &quot;match_type&quot;: &quot;IN_ORDER&quot;,\r\n …+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;{\r\n &quot;criteria&quot;: {\r\n &quot;tool_trajectory_avg_score&quot;: {\r\n &quot;threshold&quot;: 1.0,\r\n &quot;match_type&quot;: &quot;IN_ORDER&quot;,\r\n …</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">In your evaluation set file (</span><code style="vertical-align: baseline;">nl2sql.evalset.json</code><span style="vertical-align: baseline;">), each test case records the user …<p><span style="vertical-align: baseline;">The following code shows a sample implementation to define your evaluation set in </span><code style="vertical-align: baseline;">nl2sql.evalset.json</code>:</p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;{\r\n &quot;eval_set_id&quot;: &quot;nl2sql_eval_suite&quot;,\r\n &quot;eval_cases&quot;: [\r\n {\r\n &quot;eval_id&quot;: &quot;sales_revenue_na_alias_case&quot;,\r\…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;{\r\n &quot;eval_set_id&quot;: &quot;nl2sql_eval_suite&quot;,\r\n &quot;eval_cases&quot;: [\r\n {\r\n &quot;eval_id&quot;: &quot;sales_revenue_na_alias_case&quot;,\r\…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">6. Run the custom metric in ADK</strong></h3><p><span style="vertical-align: baseline;">Assuming that your ADK agent module (</span><span style="vertical-align: baseline;">my_nl2sql_agent</span><span style="vertical-align: baseline;">) exposes an </span><code style="vertical-align: baseline;">exe…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;PYTHONPATH=. adk eval my_nl2sql_agent nl2sql.evalset.json \\\r\n --config_file_path eval_config.json \\\r\n --print_detailed_results&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;capt…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;PYTHONPATH=. adk eval my_nl2sql_agent nl2sql.evalset.json \\\r\n --config_file_path eval_config.json \\\r\n --print_detailed_results&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;capt…</dl></div><div class="block-paragraph_advanced"><h2><strong style="vertical-align: baseline;">Next steps</strong></h2><p><span style="vertical-align: baseline;">Ready to test your own data agent? Install </span><a href="https://adk.dev/" rel="noopener" target="_blank"><span style="text-decoration: underline; vertical-align: baseline;">Agent Development Kit (ADK)</span></a>&…@
@@ -1708,7 +1736,7 @@</ul></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT customer_name,\r\n ai.generate(&#x27;Summarize in 1 short sentence: &#x27; || comment,\r\n model_id =&gt; &#x27;gemma4_llm&#x27;) AS summary\r\nFROM customer_feedbac…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SELECT customer_name,\r\n ai.generate(&#x27;Summarize in 1 short sentence: &#x27; || comment,\r\n model_id =&gt; &#x27;gemma4_llm&#x27;) AS summary\r\nFROM customer_feedbac…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Next, you’ll see how to run queries like this yourself, step by step.</span></p><h2><strong style="vertical-align: baseline;">Get started</strong></h2>@
@@ -1728,32 +1756,32 @@<p><span style="vertical-align: baseline;">We will use the </span><a href="https://docs.cloud.google.com/alloydb/omni/kubernetes/current/docs/deploy-kubernetes"><span style="text-decoration: underline; vertical-align: baseline;">AlloyDB Omni Kubernetes operator</span…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;helm install \\\r\n cert-manager oci://quay.io/jetstack/charts/cert-manager \\\r\n --version v1.21.3 \\\r\n --namespace cert-manager \\\r\n --create-namespace \\\r\n --set crds.enabled=true \\\r\n --set global.…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;helm install \\\r\n cert-manager oci://quay.io/jetstack/charts/cert-manager \\\r\n --version v1.21.3 \\\r\n --namespace cert-manager \\\r\n --create-namespace \\\r\n --set crds.enabled=true \\\r\n --set global.…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">Step 2: Create your AlloyDB Omni database</strong></h3><p><span style="vertical-align: baseline;">Don’t forget to enable the </span><code style="vertical-align: baseline;">googleMLExtension</code><span style="vertical-align: baseline;">.</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;kubectl create namespace ai-demo\r\n\r\ncat &lt;&lt; \&#x27;EOF\&#x27; | kubectl apply -f -\r\napiVersion: v1\r\nkind: Secret\r\nmetadata:\r\n name: db-pw-my-omni\r\n namespace: ai-demo\r\ntype: Opa…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;kubectl create namespace ai-demo\r\n\r\ncat &lt;&lt; \&#x27;EOF\&#x27; | kubectl apply -f -\r\napiVersion: v1\r\nkind: Secret\r\nmetadata:\r\n name: db-pw-my-omni\r\n namespace: ai-demo\r\ntype: Opa…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">Step 3: Deploy your AI model</strong></h3><p><span style="vertical-align: baseline;">We will use </span><a href="https://ollama.com/" rel="noopener" target="_blank"><span style="text-decoration: underline; vertical-align: baseline;">Ollama</span></a><span style="vertical-align: baseline;"> to …<p><span style="vertical-align: baseline;">In this example we deploy Gemma 4 from Google DeepMind. Or, you can modify this command to deploy Qwen3.8 – just change a few lines as noted in the comments.</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;cat &lt;&lt; \&#x27;EOF\&#x27; | kubectl apply -f -\r\napiVersion: apps/v1\r\nkind: Deployment\r\nmetadata:\r\n name: ollama\r\n namespace: ai-demo\r\nspec:\r\n replicas: 1\r\n selector:\r\n matchLa…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;cat &lt;&lt; \&#x27;EOF\&#x27; | kubectl apply -f -\r\napiVersion: apps/v1\r\nkind: Deployment\r\nmetadata:\r\n name: ollama\r\n namespace: ai-demo\r\nspec:\r\n replicas: 1\r\n selector:\r\n matchLa…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">Step 4: Register the model with AlloyDB Omni</strong></h3><p><span style="vertical-align: baseline;">Connect to your database.</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;kubectl exec -it -n ai-demo $(kubectl get pod -n ai-demo -l alloydbomni.internal.dbadmin.goog/task-type=database -o jsonpath=\&#x27;{.items[0].metadata.name}\&#x27;) -c database -- env PGPASSWORD=&quot;Ve…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;kubectl exec -it -n ai-demo $(kubectl get pod -n ai-demo -l alloydbomni.internal.dbadmin.goog/task-type=database -o jsonpath=\&#x27;{.items[0].metadata.name}\&#x27;) -c database -- env PGPASSWORD=&quot;Ve…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Note: If you receive a connection error, you might need to wait a moment for your database to provision.</span></p><p><span style="vertical-align: baseline;">Now you should be connected to your AlloyDB Omni database with the </span><code style="vertical-align: baseline;">psql</code><span style="vertical-align: baseline;"> client. Next, run the following SQL script to register …<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;CREATE EXTENSION IF NOT EXISTS google_ml_integration;\r\nALTER SYSTEM SET google_ml_integration.request_timeout_in_seconds = 600;\r\nSELECT pg_reload_conf();\r\nCREATE OR REPLACE FUNCTION google_ml.ollama_llm_input_t…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;CREATE EXTENSION IF NOT EXISTS google_ml_integration;\r\nALTER SYSTEM SET google_ml_integration.request_timeout_in_seconds = 600;\r\nSELECT pg_reload_conf();\r\nCREATE OR REPLACE FUNCTION google_ml.ollama_llm_input_t…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Note: If you receive a </span><code style="vertical-align: baseline;">Resource not found</code><span style="vertical-align: baseline;"> error, wait a moment for the model to loa…<p><span style="vertical-align: baseline;">In addition to registering your model, the above script tells AlloyDB Omni how to interpret the model’s raw output. In this example chain-of-thought (CoT) reasoning is part of the response inside </span><code style="vertical-align: base…@
@@ -1761,7 +1789,7 @@<p><span style="vertical-align: baseline;">You can use functions like </span><code style="vertical-align: baseline;">ai.generate</code><span style="vertical-align: baseline;"> built-in to AlloyDB Omni to connect to your local model – without ever leaving the SQL c…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;CREATE TABLE customer_feedback (\r\n id SERIAL PRIMARY KEY,\r\n customer_name TEXT,\r\n comment TEXT\r\n);\r\nINSERT INTO customer_feedback (customer_name, comment) VALUES\r\n(&#x27;Alice&#x27;, &#x…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;CREATE TABLE customer_feedback (\r\n id SERIAL PRIMARY KEY,\r\n customer_name TEXT,\r\n comment TEXT\r\n);\r\nINSERT INTO customer_feedback (customer_name, comment) VALUES\r\n(&#x27;Alice&#x27;, &#x…</dl></div><div class="block-paragraph_advanced"><h2><span style="vertical-align: baseline;">Make it your own</span></h2><p><span style="vertical-align: baseline;">Try out all the AI features that AlloyDB Omni has to offer! AlloyDB Omni </span><a href="https://cloud.google.com/alloydb/ai?e=48754805"><span style="text-decoration: underline; vertical-align: baseline;">supports</span>&…@
@@ -2220,19 +2248,19 @@<p><span style="vertical-align: baseline;">Before changing anything, find out where your keys are. The repo includes a small scanner that looks for strings shaped like Google API keys and for </span><span style="vertical-align: baseline;">api_key=</span><span style="…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;python -m step1_keyless_auth.scan_for_keys .&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fafda1b31d0&gt;)])]&…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;python -m step1_keyless_auth.scan_for_keys .&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fbfaf7df710&gt;)])]&…</dl></div><div class="block-paragraph_advanced"><h3><span style="vertical-align: baseline;">Step one: Give each person one login</span></h3><p><span style="vertical-align: baseline;">Each person on the team runs one command:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud auth application-default login&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fafda1b27d0&gt;)])]&gt;<…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud auth application-default login&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fbfaf4f16d0&gt;)])]&gt;<…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">A browser window opens, you sign in with your work account and gcloud stores a short-lived credential on your machine. Every Google Cloud SDK finds it automatically. There is no key to copy, paste or l…<p><span style="vertical-align: baseline;">Then point your tools at the team project:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;export GOOGLE_CLOUD_PROJECT=my-startup-dev&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fafda1b3590&gt;)])]&g…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;export GOOGLE_CLOUD_PROJECT=my-startup-dev&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fbfaf4f3b10&gt;)])]&g…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Someone has to grant you access to the project first. Step four shows how.</span></p><h3><span style="vertical-align: baseline;">Step two: Call any model with that login</span></h3>@
@@ -2240,18 +2268,18 @@<p><strong style="vertical-align: baseline;">Gemini</strong><span style="vertical-align: baseline;">, with the </span><a href="https://github.com/googleapis/python-genai" rel="noopener" target="_blank"><span style="text-decoration: underline; vertical-align: ba…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;from google import genai\r\n\r\nclient = genai.Client(enterprise=True, project=&quot;my-startup-dev&quot;, location=&quot;global&quot;)\r\nresp = client.models.generate_content(model=&quot;gemini-…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;from google import genai\r\n\r\nclient = genai.Client(enterprise=True, project=&quot;my-startup-dev&quot;, location=&quot;global&quot;)\r\nresp = client.models.generate_content(model=&quot;gemini-…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">enterprise=True</span><span style="vertical-align: baseline;"> sends the call to Gemini Platform instead of AI Studio. Older samples call the same flag </span><span style="vertical…<p><strong style="vertical-align: baseline;">Claude</strong><span style="vertical-align: baseline;">, with </span><a href="https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/partner-models/claude/use-claude"><span style="text-decoration: unde…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;from anthropic import AnthropicVertex\r\n\r\nclient = AnthropicVertex(project_id=&quot;my-startup-dev&quot;, region=&quot;global&quot;)\r\nmsg = client.messages.create(\r\n model=&quot;claude-s…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;from anthropic import AnthropicVertex\r\n\r\nclient = AnthropicVertex(project_id=&quot;my-startup-dev&quot;, region=&quot;global&quot;)\r\nmsg = client.messages.create(\r\n model=&quot;claude-s…</dl></div><div class="block-paragraph_advanced"><p><strong style="vertical-align: baseline;">Open models</strong><span style="vertical-align: baseline;"> such as OpenAI's </span><a href="https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/maas/openai/gp…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;import google.auth, google.auth.transport.requests\r\nfrom openai import OpenAI\r\n\r\ncreds, _ = google.auth.default(scopes=[&quot;https://www.googleapis.com/auth/cloud-platform&quot;])\r\ncreds.refresh(goog…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;import google.auth, google.auth.transport.requests\r\nfrom openai import OpenAI\r\n\r\ncreds, _ = google.auth.default(scopes=[&quot;https://www.googleapis.com/auth/cloud-platform&quot;])\r\ncreds.refresh(goog…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Two things to know:</span></p><ul>@
@@ -2269,7 +2297,7 @@<p><span style="vertical-align: baseline;">Create the service account and deploy with it:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud iam service-accounts create agent-runtime \\\r\n --display-name=&quot;Runtime identity for the app&quot;\r\n\r\ngcloud run deploy my-agent \\\r\n --image=us-docker.pkg.dev/my-startup-prod/agents/api:…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud iam service-accounts create agent-runtime \\\r\n --display-name=&quot;Runtime identity for the app&quot;\r\n\r\ngcloud run deploy my-agent \\\r\n --image=us-docker.pkg.dev/my-startup-prod/agents/api:…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Keep people and production apart. Developers work in </span><span style="vertical-align: baseline;">my-startup-dev</span><span style="vertical-align: baseline;"> under their own…<h3><span style="vertical-align: baseline;">Step four: Give each identity only what it needs</span></h3>@
@@ -2278,12 +2306,12 @@<p><span style="vertical-align: baseline;">For people, grant it to a Google group, not to individuals. Onboarding and offboarding then become a group membership change:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud projects add-iam-policy-binding my-startup-dev \\\r\n --member=&quot;group:[email redacted]&quot; \\\r\n --role=&quot;roles/aiplatform.user&quot;&#x27;), (&#x27;language&…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud projects add-iam-policy-binding my-startup-dev \\\r\n --member=&quot;group:[email redacted]&quot; \\\r\n --role=&quot;roles/aiplatform.user&quot;&#x27;), (&#x27;language&…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">For the app, grant it to the service account:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud projects add-iam-policy-binding my-startup-prod \\\r\n --member=&quot;serviceAccount:[email redacted]&quot; \\\r\n --role=&quot;roles/aiplatform.user&quot…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud projects add-iam-policy-binding my-startup-prod \\\r\n --member=&quot;serviceAccount:[email redacted]&quot; \\\r\n --role=&quot;roles/aiplatform.user&quot…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">It takes about 30 seconds longer than granting Editor. If anything is compromised later, the attacker gets one narrow role instead of the whole project. When someone leaves, remove them from the group …<p><span style="vertical-align: baseline;">In the Cloud Console, the Grant access dialog has a </span><strong style="vertical-align: baseline;">Help me choose roles</strong><span style="vertical-align: baseline;"> button. You describe the task in plain English and…@
@@ -2305,17 +2333,17 @@<p><span style="vertical-align: baseline;">Test keys go to the developer group:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud secrets create stripe-test-key --data-file=-\r\ngcloud secrets add-iam-policy-binding stripe-test-key \\\r\n --member=&quot;group:[email redacted]&quot; \\\r\n --role=&quot;roles/secret…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud secrets create stripe-test-key --data-file=-\r\ngcloud secrets add-iam-policy-binding stripe-test-key \\\r\n --member=&quot;group:[email redacted]&quot; \\\r\n --role=&quot;roles/secret…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Anyone in the group can then fetch the key with their own login:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud secrets versions access latest --secret=stripe-test-key&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fafda1b01…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;gcloud secrets versions access latest --secret=stripe-test-key&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fbfaf4f15…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Live keys stay in the production project, readable only by the app's service account. The app reads them at startup:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;from google.cloud import secretmanager\r\n\r\nsm = secretmanager.SecretManagerServiceClient()\r\nresp = sm.access_secret_version(\r\n name=&quot;projects/my-startup-prod/secrets/stripe-live-key/versions/latest…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;from google.cloud import secretmanager\r\n\r\nsm = secretmanager.SecretManagerServiceClient()\r\nresp = sm.access_secret_version(\r\n name=&quot;projects/my-startup-prod/secrets/stripe-live-key/versions/latest…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Reading </span><span style="vertical-align: baseline;">--data-file=-</span><span style="vertical-align: baseline;"> from standard input keeps the value out of your shell history…<p><span style="vertical-align: baseline;">Then finish the job. Go to the </span><a href="https://aistudio.google.com/apikey" rel="noopener" target="_blank"><span style="text-decoration: underline; vertical-align: baseline;">AI Studio API keys page</span></a>…@
@@ -2326,7 +2354,7 @@<p><span style="vertical-align: baseline;">You can create one in the console under </span><strong style="vertical-align: baseline;">Budgets &amp; alerts</strong><span style="vertical-align: baseline;"> by choosing </span><strong style="vertical-align:…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;python -m bonus_spend_cap.create_spend_cap \\\r\n --billing-account 012345-6789AB-CDEF01 --amount 500 --dry-run&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;python -m bonus_spend_cap.create_spend_cap \\\r\n --billing-account 012345-6789AB-CDEF01 --amount 500 --dry-run&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Know the limits before relying on it. Each cap covers a single project and a single service. Agent Platform, the Gemini API, Cloud Run and Cloud Run functions are eligible today. Enforcement runs on es…<p><span style="vertical-align: baseline;">Set one cap on the dev project and another on prod. An experiment then can't drain the budget your customers depend on. For a second layer, lower your </span><a href="https://cloud.google.com/docs/quotas/view-manage"><span style="…@
@@ -2336,7 +2364,7 @@<p><span style="vertical-align: baseline;">If your product lets the model write and run code, for example to analyze a customer's spreadsheet, that code should not run inside your application process. With </span><a href="https://cloud.google.com/vertex-ai/generative-ai/docs/cod…<div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;config=types.GenerateContentConfig(\r\n tools=[types.Tool(code_execution=types.ToolCodeExecution())],\r\n)&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wa…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;config=types.GenerateContentConfig(\r\n tools=[types.Tool(code_execution=types.ToolCodeExecution())],\r\n)&#x27;), (&#x27;language&#x27;, &#x27;&#x27;), (&#x27;caption&#x27;, &lt;wa…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">The generated code never sees your environment variables, your files or your database.</span></p><h3><strong style="vertical-align: baseline;">Someone watching for unusual behavior</strong></h3>@
@@ -2388,7 +2416,7 @@<p><span style="vertical-align: baseline;">Given these needs, we knew we would want a range of models to build Kult. Fortunately, </span><a href="https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models"><span style="text-decoration: underline; vertical-align: bas…<div class="block-aside"><dl> <dt>aside_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;title&#x27;, &#x27;In the Clouds with... Omid Ashtari&#x27;), (&#x27;body&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fafda0cd250&gt;), (&#x27;btn_text&#x27;, &#x27;Read it now.&#x27;), (&…+
<dd>&lt;ListValue: [StructValue([(&#x27;title&#x27;, &#x27;In the Clouds with... Omid Ashtari&#x27;), (&#x27;body&#x27;, &lt;wagtail.rich_text.RichText object at 0x7fbfaf55e090&gt;), (&#x27;btn_text&#x27;, &#x27;Read it now.&#x27;), (&…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">The lightest Gemini Flash tier handles high-volume, repetitive work, where we make thousands of small calls for every game we add. Gemini Flash runs every conversational turn. It works out what the pla…<p><span style="vertical-align: baseline;">Having that range on one API surface matters to a small team. The latest Gemini Flash models in particular sit at a point of price, speed, and quality that we have not found elsewhere, and they are the reason an always-on gaming companion works …@
@@ -2824,7 +2852,7 @@</div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;Gather context and plan\r\n -&gt; Parallel specialist sessions (concerns + dismissed concerns)\r\n -&gt; Triage\r\n -&gt; Per-bug deep checks\r\n -&gt; Review report&#x27;), (&#x27;languag…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;Gather context and plan\r\n -&gt; Parallel specialist sessions (concerns + dismissed concerns)\r\n -&gt; Triage\r\n -&gt; Per-bug deep checks\r\n -&gt; Review report&#x27;), (&#x27;languag…</dl></div><div class="block-paragraph_advanced"><p><span style="vertical-align: baseline;">Notes on each step:</span></p><ol>@
@@ -3703,7 +3731,7 @@<p><span style="vertical-align: baseline;">Here’s a quick example showing how you can classify customer feedback directly within a SQL query:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SET google_ml_integration.enable_preview_ai_functions = TRUE;\r\n\r\nCREATE TABLE product_reviews (id INT, review TEXT);\r\n\r\nINSERT INTO product_reviews VALUES\r\n(1, &#x27;Fantastic, would buy again!&#x27…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &quot;SET google_ml_integration.enable_preview_ai_functions = TRUE;\r\n\r\nCREATE TABLE product_reviews (id INT, review TEXT);\r\n\r\nINSERT INTO product_reviews VALUES\r\n(1, &#x27;Fantastic, would buy again!&#x27…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">Extracting structured JSON with ai.extract</strong></h3><p><span style="vertical-align: baseline;">The </span><code style="vertical-align: baseline;">ai.extract</code><span style="vertical-align: baseline;"> function transforms unstructured text into structured JSON data matching your target schema — specified as a JSO…@
@@ -3722,7 +3750,7 @@<p><span style="vertical-align: baseline;">Here’s an example extracting clinical fields from free-form medical notes:</span></p></div><div class="block-code"><dl> <dt>code_block</dt>-
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SET google_ml_integration.enable_preview_ai_functions = TRUE;\r\n\r\nSELECT ai.extract( \r\n input =&gt; \&#x27;Patient Jane Smith, 52 years old, visited the clinic on Oct 25. She is currently experiencing a…+
<dd>&lt;ListValue: [StructValue([(&#x27;code&#x27;, &#x27;SET google_ml_integration.enable_preview_ai_functions = TRUE;\r\n\r\nSELECT ai.extract( \r\n input =&gt; \&#x27;Patient Jane Smith, 52 years old, visited the clinic on Oct 25. She is currently experiencing a…</dl></div><div class="block-paragraph_advanced"><h3><strong style="vertical-align: baseline;">Speeding up queries with smart batching</strong></h3><p><span style="vertical-align: baseline;">Running AI evaluations row-by-row can slow down query execution. AlloyDB addresses this with smart batching for AI functions. When you use </span><code style="vertical-align: baseline;">ai.classify</code><span style="vertica…@
@@ -4335,101 +4363,4 @@</li></ul><h3><strong style="vertical-align: baseline;">Next steps </strong></h3>-
<p><span style="vertical-align: baseline;">Dynamic slicing (super-slice and sub-slice) is available for TPUs and is offered in all regions where TPUs are available. It is supported exclusively in </span><a href="https://docs.cloud.google.com/tpu/docs/all-capacity-overview">&…-
<p><span style="vertical-align: baseline;">AI is rapidly transforming video production at virtually every step of the process, from ideation and storyboarding to filming, editing, and release. At </span><strong style="vertical-align: baseline;">Mito</strong><span sty…-
<h2><strong style="vertical-align: baseline;">The Challenge</strong></h2>-
<p><span style="vertical-align: baseline;">When we founded Mito, our goal was to eliminate the complex technical friction that stops creators from telling long-form, narrative stories with generative AI. </span></p>-
<p><span style="vertical-align: baseline;">However, transitioning from a single five-second clip to a cohesive campaign — such as a 120-second national TV spot for Movistar Plus+, a part of Telefónica, to broadcast across Spain during the World Cup this summer. This effort revealed massi…Diff display stops at 400 lines. The line counts above are from the whole diff. 141 lines shown here cut at 300 characters. 6 email addresss masked in this display. See the About page on personal data. The raw artifact at this commit is linked above.