bigquery-ai-ml
Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity, summarize content, translate language, evaluate models, filter by semantic conditions, measure the causal effect of an intervention, compute correlations between columns, detect change points or structural breaks, extract trend or seasonality components, or leverage generative AI capabilities in BigQuery. Do not use for general BigQuery dataset, table, or job management requests.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 2.2w
- Forks
- 4.3k
01 前言 Front Matter
- name
- bigquery-ai-ml
- license
- Apache-2.0
- metadata
- { "author": "google-adk", "version": "1.0" }
- description
- Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity, summarize content, translate language, evaluate models, filter by semantic conditions, measure the causal effect of an intervention, compute correlations between columns, detect change points or structural breaks, extract trend or seasonality components, or leverage generative AI capabilities in BigQuery. Do not use for general BigQuery dataset, table, or job management requests.
02 资源文件 21
- 参考文档references/ai_agg.md3.5 KB
- 参考文档references/ai_causal_effect.md11.2 KB
- 参考文档references/ai_classify.md3.7 KB
- 参考文档references/ai_detect_anomalies.md4.5 KB
- 参考文档references/ai_evaluate.md2.2 KB
- 参考文档references/ai_forecast.md6.5 KB
- 参考文档references/ai_generate_embedding.md1.6 KB
- 参考文档references/ai_generate_table.md2.9 KB
- 参考文档references/ai_generate.md3.9 KB
- 参考文档references/ai_if.md2.0 KB
- 参考文档references/ai_key_drivers.md7.1 KB
- 参考文档references/ai_score.md1.9 KB
- 参考文档references/ai_search.md3.7 KB
- 参考文档references/ai_similarity.md2.7 KB
- 参考文档references/ml_contribution_analysis.md4.8 KB
- 参考文档references/ml_correlation.md8.9 KB
- 参考文档references/ml_detect_change_points.md5.5 KB
- 参考文档references/ml_seasonality.md6.6 KB
- 参考文档references/ml_trend.md4.1 KB
- 参考文档references/remote_models.md872 B
- 参考文档references/vector_search.md4.0 KB
03 SKILL.md 正文
BigQuery AI & ML
BigQuery integrates with Vertex AI to provide powerful machine learning and
generative AI capabilities directly within SQL queries using built-in functions
like AI.FORECAST, AI.KEY_DRIVERS, AI.DETECT_ANOMALIES, and AI.GENERATE.
Reference Directory
-
Functions Reference:
- AI.AGG: ai_agg.md - Multi-row semantic aggregation and summarization.
- AI.CAUSAL_EFFECT: ai_causal_effect.md - Quantifies the impact of an intervention on a time series.
- AI.CLASSIFY: ai_classify.md - Classify text.
- AI.DETECT_ANOMALIES: ai_detect_anomalies.md - Detect anomalies.
- AI.EVALUATE: ai_evaluate.md - Evaluate models.
- AI.FORECAST: ai_forecast.md - Time-series forecasting.
- AI.GENERATE: ai_generate.md - Generate text using LLMs.
- AI.GENERATE_EMBEDDING: ai_generate_embedding.md - Generate embeddings.
- AI.GENERATE_TABLE: ai_generate_table.md - Table-valued AI generation.
- AI.IF: ai_if.md - Evaluate semantic conditions.
- AI.KEY_DRIVERS: ai_key_drivers.md - Identifies key drivers, this is a TVF.
- AI.SCORE: ai_score.md - Score data.
- AI.SEARCH: ai_search.md - Semantic search.
- AI.SIMILARITY: ai_similarity.md - Semantic similarity.
- Remote Models: remote_models.md - Working with remote models (Vertex AI).
- CONTRIBUTION_ANALYSIS:
ml_contribution_analysis.md
- Finds contributing factors, key drivers of change. Requires creating a MODEL entity.
- ML.CORRELATION: ml_correlation.md - Calculates correlation between columns, optionally sliced by dimensions.
- ML.DETECT_CHANGE_POINTS: ml_detect_change_points.md - Detects structural breaks or sustained shifts in a time series.
- ML.SEASONALITY: ml_seasonality.md - Extracts seasonal components from a time series.
- ML.TREND: ml_trend.md - Extracts the long-term trend component from a time series.
- VECTOR_SEARCH: vector_search.md - Vector search best practices.
04 同仓库更多 Skills
bigquery-graph
Skill for Graph Query Language (GQL) or SQL/PGQ queries against a property graph. Includes path finding, multi-hop traversal, topological connection, shortest path, node reachability, edge connectivity, and semantic graph queries.
code-review-skill
Reviews code with feedback tailored to the developer's profile in session state.
weather-skill
A skill that provides weather information based on reference data.
weather-skill
A skill that provides weather information based on reference data and scripts.
weather-skill
A skill that provides weather information based on reference data.
text-skill
A text processing skill that formats strings using shell scripts.