bigquery-ai

Installation
SKILL.md

BigQuery AI (bigquery-ai)

BigQuery AI brings foundation models (Gemini, TimesFM, TabFM, EmbeddingGemma, Text/Multimodal Embeddings) and pre-trained Google Cloud AI services directly into SQL and Python (bigframes.bigquery.ai) with zero model training.

This skill packages a verified, field-tested 4-Lens reference distilled from live-executing all 29 functions and 14 composed workflows in bigquery-ai/.

Decision Tree (Lens 1 → Lens 2)

  1. Do you want free-form or structured schema output per row (summaries, multi-field JSON/STRUCT extraction, typed scalars, token counting)? → see reference/general-purpose-generation.md
  2. Do you want a managed, zero-config judgment per row or group (boolean filter AI.IF, numeric rating AI.SCORE, fixed-category label AI.CLASSIFY, or group synthesis AI.AGG)? → see reference/managed-functions.md
  3. Do you need to embed text/multimodal content, compute pairwise similarity, or run vector/hybrid RRF search? → see reference/embeddings-and-search.md
  4. Do you need zero-training predictions — forecast a time series (AI.FORECAST on TimesFM 2.5 / 3.0), detect anomalies (AI.DETECT_ANOMALIES), or predict tabular targets without training (AI.PREDICT + AI.EVALUATE on TabFM)? → see reference/predictive-ai.md
  5. Do you need to explain why a summable metric moved (AI.KEY_DRIVERS), or estimate the causal impact of an intervention (AI.CAUSAL_EFFECT)? → see reference/augmented-analytics.md (which also routes AI.CAUSAL_EFFECT to ../bigquery-ml/reference/workflows-and-pipelines.md)
  6. Are you extracting structured records from PDFs/images or passing ObjectRef media into AI.* functions? → see reference/document-processing.md
  7. Do you need a pre-trained Cloud AI service (REMOTE_SERVICE_TYPE) with a fixed API schema and per-row status column (ML.TRANSLATE, ML.UNDERSTAND_TEXT, ML.ANNOTATE_IMAGE, ML.TRANSCRIBE, ML.PROCESS_DOCUMENT)? → see reference/cloud-ai-service-models.md
  8. Are you composing multiple capabilities into an end-to-end application (RAG, hybrid catalog search, document intelligence, log triage, content moderation, metric diagnostics)? → see reference/workflows.md

If the task is ambiguous between zero-training foundation functions (bigquery-ai), trained models (bigquery-ml), or production orchestration/monitoring (bigquery-mlops), consult ../bigquery-data-science/SKILL.md first.

Installs
1
First Seen
Oct 26, 2026