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 outliers 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 & Key Drivers: Perform vector search with VECTOR_SEARCH and AI.SEARCH, compute similarity with AI.SIMILARITY, and identify metric drivers with AI.KEY_DRIVERS or contribution analysis models. - Use Case: A data analyst wants to forecast next month's bike trips per user type and detect anomalies in recent data. This Skill guides writing AI.FORECAST and AI.DETECT_ANOMALIES queries with correct TVF placement, named arguments, and chronological data splitting. ## Quick Start Ask the AI to write a BigQuery SQL query that forecasts the next 30 days of daily sales from your sales table using AI.FORECAST.