Skip to content

ai_search function

Beta
Last seen at this status: 2026-08-07·Aug 2026

A SQL function (Beta) that answers a natural-language question from up to 10 knowledge sources per call: AI Search indexes and, since September 24, 2026, Lakebase synced tables with Lakebase Search turned on. It writes optimized search queries, retrieves and deduplicates results across the sources, reranks them and by default writes a grounded answer; the generate_citations option, added September 8, 2026, shows which chunks support that answer. It needs Databricks Runtime 18.2 or above (serverless environment version 3 or above on serverless compute) and runs in notebooks, the SQL editor, jobs and Lakeflow Spark Declarative Pipelines.

Status history

  • Beta
    2026-08-07 · Aug 2026
    Release notes

    Verified on 2026-10-30 against Databricks sources.

Sources (4)

Get Tuesday's version of this

What shipped in Databricks and why it matters, once a week. Free, one-click unsubscribe.

Read past issues first

Statuses and dates come from public Databricks sources only. We do not see the private roadmap Databricks shares with customers. If something looks wrong, report a correction.