End-to-end Text-to-SQL Generation within an Analytics Insight Engine

Karime Maamari, Amine Mhedhbi
6/17/2024
cs.CLcs.AIcs.DB

No confident code implementation found for this paper. 7 possible matches can be shown below.

Abstract

Recent advancements in Text-to-SQL have pushed database management systems towards greater democratization of data access. Today's language models are at the core of these advancements. They enable impressive Text-to-SQL generation as experienced in the development of Distyl AI's Analytics Insight Engine. Its early deployment with enterprise customers has highlighted three core challenges. First, data analysts expect support with authoring SQL queries of very high complexity. Second, requests are ad-hoc and, as such, require low latency. Finally, generation requires an understanding of domain-specific terminology and practices. The design and implementation of our Text-to-SQL generation pipeline, powered by large language models, tackles these challenges. The core tenants of our approach rely on external knowledge that we extract in a pre-processing phase, on retrieving the appropriate external knowledge at query generation time, and on decomposing SQL query generation following a hierarchical CTE-based structure. Finally, an adaptation framework leverages feedback to update the external knowledge, in turn improving query generation over time. We give an overview of our end-to-end approach and highlight the operators generating SQL during inference.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 7 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{maamari2024endtoend,
  title  = {End-to-end Text-to-SQL Generation within an Analytics Insight Engine},
  author = {Karime Maamari and Amine Mhedhbi},
  year   = {2024},
  eprint = {2406.12104},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.12104v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.12104.svg)](https://codeofpaper.com/paper/2406.12104)

Discussion