@@ -13,12 +13,13 @@ description: |
1313# Skill: bigquery-ai-ml
1414
1515This skill defines the usage and rules for BigQuery AI/ML functions,
16- preferring SQL-based Skills over dedicated 1P tools.
16+ preferring SQL-based Skills over dedicated BigQuery tools.
1717
1818## 1. Skill vs Tool Preference (BigQuery AI/ML)
1919
2020Agents should ** prefer using the Skill (SQL via ` execute_sql() ` )** over
21- dedicated 1P tools for functionalities like Forecasting and Anomaly Detection.
21+ dedicated BigQuery tools for functionalities like Forecasting and Anomaly
22+ Detection.
2223
2324Use ` execute_sql() ` with the standard BigQuery ` AI.* ` functions for these tasks
2425instead of the corresponding high-level tools.
@@ -31,17 +32,16 @@ read the associated reference file before generating SQL.
3132** CRITICAL** : DO NOT GUESS filenames. You MUST only use the exact paths
3233provided below.
3334
34- | Function | Required Reference File to Retrieve |
35- | :--- | :--- |
36- | ** AI.FORECAST** | ` references/bigquery_ai_forecast.md ` |
37- | ** AI.CLASSIFY** | ` references/bigquery_ai_classify.md ` |
38- | ** AI.DETECT_ANOMALIES** | ` references/bigquery_ai_detect_anomalies.md ` |
39- | ** AI.GENERATE** | ` references/bigquery_ai_generate.md ` |
40- | ** AI.GENERATE_BOOL** | ` references/bigquery_ai_generate_bool.md ` |
41- | ** AI.GENERATE_DOUBLE** | ` references/bigquery_ai_generate_double.md ` |
42- | ** AI.GENERATE_INT** | ` references/bigquery_ai_generate_int.md ` |
43- | ** AI.IF** | ` references/bigquery_ai_if.md ` |
44- | ** AI.SCORE** | ` references/bigquery_ai_score.md ` |
45- | ** AI.SIMILARITY** | ` references/bigquery_ai_similarity.md ` |
46- | ** AI.SEARCH** | ` references/bigquery_ai_search.md ` |
47-
35+ | Function | Description | Required Reference File to Retrieve |
36+ | :--- | :--- | :--- |
37+ | ** AI.FORECAST** | Time-series forecasting via the pre-trained TimesFM model | ` references/bigquery_ai_forecast.md ` |
38+ | ** AI.CLASSIFY** | Categorize unstructured data into predefined labels | ` references/bigquery_ai_classify.md ` |
39+ | ** AI.DETECT_ANOMALIES** | Identify deviations in time-series data via the pre-trained TimesFM model | ` references/bigquery_ai_detect_anomalies.md ` |
40+ | ** AI.GENERATE** | General-purpose text and content generation | ` references/bigquery_ai_generate.md ` |
41+ | ** AI.GENERATE_BOOL** | Generate a boolean value (TRUE/FALSE) based on a prompt | ` references/bigquery_ai_generate_bool.md ` |
42+ | ** AI.GENERATE_DOUBLE** | Generate a floating-point number based on a prompt | ` references/bigquery_ai_generate_double.md ` |
43+ | ** AI.GENERATE_INT** | Generate an integer value based on a prompt | ` references/bigquery_ai_generate_int.md ` |
44+ | ** AI.IF** | Evaluate a natural-language boolean condition | ` references/bigquery_ai_if.md ` |
45+ | ** AI.SCORE** | Rank items by semantic relevance (use with ORDER BY) | ` references/bigquery_ai_score.md ` |
46+ | ** AI.SIMILARITY** | Compute cosine similarity between two inputs | ` references/bigquery_ai_similarity.md ` |
47+ | ** AI.SEARCH** | Semantic search on tables with autonomous embedding generation | ` references/bigquery_ai_search.md ` |
0 commit comments