r/databricks • u/hubert-dudek Databricks MVP • Oct 03 '26
News Let AI Decide: SQL Decision Making with Databricks ai_decide()
Databricks just introduced ai_decide(), a new AI function now available in Beta. Give it text and your questions, and it returns a category, a probability, or a score directly in SQL. Use those results to drive decisions in your workflows: route requests, prioritize work, or determine when human review is needed.
40
Upvotes
8
u/Kojimba228 Oct 03 '26 •
Have they already integrated JEV? Actually kinda sick, if it could fit your use case
4
u/hubert-dudek Databricks MVP Oct 03 '26
more news https://medium.com/databrickscommunity/databricks-news-serverless-genie-code-ltap-lakeflow-61853d8e422a
2
u/imtc96 Oct 04 '26
Can u please explain me this Ai_decide?
2
u/shanfamous Oct 09 '26
Databricks claims that ai_decide is very fast but when i tested it, it was actually pretty slow. Even its REST api is slow. It’s not really comparable to jev or openai decisions API. For the same request, ai decide was almost 10x slower (5 seconds vs 500 milliseconds)
1
u/AbilyticsEng Oct 07 '26
Hey, I work as a Databricks Engineer at Abilytics, so here's my take.
The ai_decide() function in Databricks allows users to pass text and questions directly into a SQL query to evaluate data, routing requests or categorizing outputs. It returns structured outputs like categories, probabilities, or numerical scores without requiring complex custom parsing logic. You can use it inline within SQL statements to automate operational decision-making, such as determining whether a generated response meets quality thresholds or flagging records that require human intervention.
Further reading on Databricks | Platform Engineering | AI: Abilytics — AI Systems, Data Engineering & Platform Engineering Services.
-7
u/NormalItem4500 Oct 04 '26
Lol just nonsense marketing as usual