Preview· Databricks blog

ai_decide enters Beta: fast structured decisions over text and data in SQL

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.

Read the original

What to re-read