What problem does it solve? Analysts often need machine learning and generative AI capabilities like forecasting, anomaly detection, and text generation but lack the infrastructure to train and deploy models. This Skill provides the syntax, constraints, and best practices to perform these tasks directly in BigQuery SQL using built-in AI functions. ## Core Features & Use Cases - Time-Series Analysis: Generate forecasts with AI.FORECAST, detect anomalies with AI.DETECT_ANOMALIES, and evaluate model accuracy with AI.EVALUATE using the pre-trained TimesFM model. - Generative AI in SQL: Generate text with AI.GENERATE, classify content with AI.CLASSIFY, aggregate insights with AI.AGG, and extract structured data with AI.GENERATE_TABLE using Gemini endpoints. - Semantic Search & Similarity: Perform vector search with VECTOR_SEARCH, semantic search with AI.SEARCH, and compute similarity scores with AI.SIMILARITY and AI.GENERATE_EMBEDDING. - Use Case: A retail analyst wants to forecast next month's sales per store and identify which product categories drove a revenue change. The Skill guides writing AI.FORECAST queries with proper chronological data splits and AI.KEY_DRIVERS queries for contribution analysis. ## Quick Start Write a BigQuery SQL query that forecasts daily bike trips for the next 30 days using AI.FORECAST on the citibike public dataset.