<< All versions

Skill v1.0.0

Trusted Publisher100/100
google/adk-python/bigquery-ai-ml
──Details
PublishedSeptember 29, 2026 at 08:28 AM
Content Hashsha256:2700c23b0661de11...
Git SHA
──Files
Files (1 file, 2.3 KB)
SKILL.md2.3 KBactive
SKILL.md · 49 lines · 2.3 KB

version: "1.0.0" name: bigquery-ai-ml license: Apache-2.0 metadata: author: google-adk version: "1.0" description: | Skill for BigQuery AI and Machine Learning queries using standard SQL and AI.* functions (preferred over dedicated tools).


Skill: bigquery-ai-ml

This skill defines the usage and rules for BigQuery AI/ML functions, preferring SQL-based Skills over dedicated BigQuery tools.

1. Skill vs Tool Preference (BigQuery AI/ML)

Agents should prefer using the Skill (SQL via `execute_sql()`) over dedicated BigQuery tools for functionalities like Forecasting and Anomaly Detection.

Use execute_sql() with the standard BigQuery AI.* functions for these tasks instead of the corresponding high-level tools.

2. Mandatory Reference Routing

This skill file does not contain the syntax for these functions. You MUST read the associated reference file before generating SQL.

CRITICAL: DO NOT GUESS filenames. You MUST only use the exact paths provided below.

FunctionDescriptionRequired Reference File to Retrieve
AI.FORECASTTime-series forecasting via the pre-trained TimesFM modelreferences/bigquery_ai_forecast.md
AI.CLASSIFYCategorize unstructured data into predefined labelsreferences/bigquery_ai_classify.md
AI.DETECT_ANOMALIESIdentify deviations in time-series data via the pre-trained TimesFM modelreferences/bigquery_ai_detect_anomalies.md
AI.GENERATEGeneral-purpose text and content generationreferences/bigquery_ai_generate.md
AI.GENERATE_BOOLGenerate a boolean value (TRUE/FALSE) based on a promptreferences/bigquery_ai_generate_bool.md
AI.GENERATE_DOUBLEGenerate a floating-point number based on a promptreferences/bigquery_ai_generate_double.md
AI.GENERATE_INTGenerate an integer value based on a promptreferences/bigquery_ai_generate_int.md
AI.IFEvaluate a natural-language boolean conditionreferences/bigquery_ai_if.md
AI.SCORERank items by semantic relevance (use with ORDER BY)references/bigquery_ai_score.md
AI.SIMILARITYCompute cosine similarity between two inputsreferences/bigquery_ai_similarity.md
AI.SEARCHSemantic search on tables with autonomous embedding generationreferences/bigquery_ai_search.md
All versionsv1.0.1 →