SQL
PreviewWorth evaluating
ai_decide enters Beta: fast structured decisions over text and data in SQL
From Databricks blog
ai_decide is a new AI Function in Beta that answers one or more questions about an input in a single call. For each question it returns a probability, one label from criteria you define, or a score on an ordered scale. The input can be plain text, a JSON object or array, or the VARIANT output of ai_parse_document or ai_extract. It runs from SQL for batch work and through a REST API for real-time use; the SQL function needs Databricks Runtime 15.4 LTS or above and is not available on Databricks SQL Classic. Typical uses are tagging, routing prompts to a model and judging agent answers.
What to re-read
On the preview radar: ai_decide
More from SQL
- Releaseai_forecast version 2 to be on by default in compliance security profile workspaces from January 2027
- Previewai_mask gains an opt-in version 2.0 that masks by system classifiers (Beta)
- ReleaseNew SQL functions edit VARIANT values in place: variant_insert, variant_set, variant_delete and more
- Releaseai_forecast version 2 is GA, adding holidays, external covariates and non-negative forecasts