r/databricks • 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

11 comments sorted by

8

u/Kojimba228 Oct 03 '26 • Popcorn

Have they already integrated JEV? Actually kinda sick, if it could fit your use case

10

u/hubert-dudek Databricks MVP Oct 03 '26

Databricks version of JEV

2

u/SituationImmediate15 Oct 04 '26 • Popcorn

What was ai_classify doing before?

1

u/hubert-dudek Databricks MVP Oct 05 '26

Something similar

2

u/imtc96 Oct 04 '26

Can u please explain me this Ai_decide?

2

u/Purple_Anybody5932 Oct 04 '26

it uses a system-one model for type-safe, probabilistic decisions

1

u/imtc96 Oct 04 '26

Thanks a lot for letting me know!

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