All skills
google avatar

/bigquery-ai-ml

@435f7c7
by googlegoogle/adk-python22k stars
4,084

Skill for BigQuery AI and Machine Learning queries using standard SQL and `AI.*` functions (preferred over dedicated tools).

Use this Skill: https://skilld.dev/gh/google/adk-python/bigquery-ai-ml

This session only. Nothing lands on disk.

SKILL.md

≈35 tokens always: the name and description. ≈531 when used: this file. ≈8.6k more on demand in 11 files.

Skill: bigquery-ai-ml

This skill defines the usage and rules for BigQuery AI/ML functions, preferring SQL-based Skills over dedicated BigQuery tools.

1. Skill vs Tool Preference (BigQuery AI/ML)

Agents should prefer using the Skill (SQL via execute_sql()) over dedicated BigQuery tools for functionalities like Forecasting and Anomaly Detection.

Use execute_sql() with the standard BigQuery AI.* functions for these tasks instead of the corresponding high-level tools.

2. Mandatory Reference Routing

This skill file does not contain the syntax for these functions. You MUST read the associated reference file before generating SQL.

CRITICAL: DO NOT GUESS filenames. You MUST only use the exact paths provided below.

Function Description Required Reference File to Retrieve
AI.FORECAST Time-series forecasting via the pre-trained TimesFM model references/bigquery_ai_forecast.md
AI.CLASSIFY Categorize unstructured data into predefined labels references/bigquery_ai_classify.md
AI.DETECT_ANOMALIES Identify deviations in time-series data via the pre-trained TimesFM model references/bigquery_ai_detect_anomalies.md
AI.GENERATE General-purpose text and content generation references/bigquery_ai_generate.md
AI.GENERATE_BOOL Generate a boolean value (TRUE/FALSE) based on a prompt references/bigquery_ai_generate_bool.md
AI.GENERATE_DOUBLE Generate a floating-point number based on a prompt references/bigquery_ai_generate_double.md
AI.GENERATE_INT Generate an integer value based on a prompt references/bigquery_ai_generate_int.md
AI.IF Evaluate a natural-language boolean condition references/bigquery_ai_if.md
AI.SCORE Rank items by semantic relevance (use with ORDER BY) references/bigquery_ai_score.md
AI.SIMILARITY Compute cosine similarity between two inputs references/bigquery_ai_similarity.md
AI.SEARCH Semantic search on tables with autonomous embedding generation references/bigquery_ai_search.md

Source: SKILL.md on GitHub

No alerts3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides a comprehensive interface for BigQuery AI and Machine Learning functions using standard SQL. It includes security considerations regarding the handling of untrusted data within AI-driven queries, which is standard for this type of functionality. Users should apply appropriate data validation when using these features.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: LOW · No issues

Signed by skilld at 435f7c7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 6 months ago
metadata
{
  "author": "google-adk",
  "version": "1.0"
}

README badge

README badge for google/adk-python/bigquery-ai-ml