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)

Status and dates are extracted from public sources only. We don't see the private AE-shared roadmap. If something looks wrong, tell us.