清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

Text-to-SQL based on Large Language Models and Database Keyword Search

计算机科学 SQL语言 情报检索 存储过程 数据定义语言 数据库 SQL/PSM 空(SQL) 按示例查询 Web搜索查询 搜索引擎
作者
Eduardo Nascimento,Caio Viktor S. Avila,Yenier Torres Izquierdo,Grettel Monteagudo García,Lucas Andrade,Michelle S. P. Facina,Melissa Lemos,Marco A. Casanova
出处
期刊:Cornell University - arXiv
标识
DOI:10.48550/arxiv.2501.13594
摘要

Text-to-SQL prompt strategies based on Large Language Models (LLMs) achieve remarkable performance on well-known benchmarks. However, when applied to real-world databases, their performance is significantly less than for these benchmarks, especially for Natural Language (NL) questions requiring complex filters and joins to be processed. This paper then proposes a strategy to compile NL questions into SQL queries that incorporates a dynamic few-shot examples strategy and leverages the services provided by a database keyword search (KwS) platform. The paper details how the precision and recall of the schema-linking process are improved with the help of the examples provided and the keyword-matching service that the KwS platform offers. Then, it shows how the KwS platform can be used to synthesize a view that captures the joins required to process an input NL question and thereby simplify the SQL query compilation step. The paper includes experiments with a real-world relational database to assess the performance of the proposed strategy. The experiments suggest that the strategy achieves an accuracy on the real-world relational database that surpasses state-of-the-art approaches. The paper concludes by discussing the results obtained.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
liuv发布了新的文献求助10
2秒前
慧子完成签到 ,获得积分10
13秒前
笨笨完成签到 ,获得积分10
16秒前
liuv完成签到,获得积分10
19秒前
Scorpia112应助科研通管家采纳,获得10
25秒前
25秒前
Scorpia112应助科研通管家采纳,获得10
25秒前
26秒前
NexusExplorer应助zxd采纳,获得10
34秒前
连国完成签到 ,获得积分10
46秒前
SAY完成签到 ,获得积分10
59秒前
GIA完成签到,获得积分10
1分钟前
xun完成签到 ,获得积分10
1分钟前
奋斗的妙海完成签到 ,获得积分0
2分钟前
林奇完成签到,获得积分10
2分钟前
ai zs完成签到,获得积分10
2分钟前
Lee_Ice完成签到,获得积分10
3分钟前
开放的乐驹完成签到 ,获得积分10
3分钟前
yiling发布了新的文献求助10
3分钟前
大个应助吃馒头的包子采纳,获得10
3分钟前
Scorpia112应助科研通管家采纳,获得10
4分钟前
Scorpia112应助科研通管家采纳,获得10
4分钟前
meng完成签到,获得积分10
4分钟前
一个小胖子完成签到,获得积分10
4分钟前
lily完成签到 ,获得积分10
5分钟前
万能图书馆应助樊樊采纳,获得10
6分钟前
6分钟前
Scorpia112应助科研通管家采纳,获得10
6分钟前
king完成签到 ,获得积分10
7分钟前
trophozoite完成签到 ,获得积分10
7分钟前
深情安青应助笑ige采纳,获得10
8分钟前
笑傲完成签到,获得积分10
8分钟前
8分钟前
樊樊发布了新的文献求助10
9分钟前
橙子完成签到 ,获得积分10
9分钟前
阮文名完成签到,获得积分10
9分钟前
研友_5Zl4VZ完成签到,获得积分10
9分钟前
无语的成仁完成签到,获得积分10
9分钟前
打打应助qyn1234566采纳,获得10
10分钟前
10分钟前
高分求助中
Clinical Epidemiology: The Essentials, 6e 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Graphene Handbook (2019 Edition) 800
Adhesion Science: Principles & Practice 800
Signals, Systems, and Signal Processing 610
IEST-RP-CC018: Cleanroom Cleaning and Sanitization: Operating and Monitoring Procedures 600
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6534768
求助须知:如何正确求助?哪些是违规求助? 8327941
关于积分的说明 17840101
捐赠科研通 5636278
什么是DOI,文献DOI怎么找? 2934513
邀请新用户注册赠送积分活动 1910813
关于科研通互助平台的介绍 1769239