亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
5秒前
flyinthesky完成签到,获得积分10
19秒前
HC完成签到,获得积分10
29秒前
33秒前
桃桃发布了新的文献求助10
39秒前
张晓祁完成签到,获得积分10
40秒前
沉默寻凝完成签到,获得积分10
40秒前
41秒前
44秒前
yueying完成签到,获得积分10
50秒前
冬天里的蝴蝶完成签到,获得积分10
51秒前
大模型应助桃桃采纳,获得10
57秒前
1分钟前
HFH应助科研通管家采纳,获得10
1分钟前
西吴完成签到 ,获得积分0
1分钟前
1分钟前
1分钟前
Alien发布了新的文献求助10
1分钟前
彭于晏应助Alien采纳,获得10
2分钟前
诚心的蛋挞完成签到,获得积分10
2分钟前
2分钟前
深情安青应助任好好采纳,获得10
2分钟前
科研通AI6.1应助yjx采纳,获得30
2分钟前
111发布了新的文献求助30
2分钟前
2分钟前
FashionBoy应助111采纳,获得10
2分钟前
oreo发布了新的文献求助10
2分钟前
打打应助······采纳,获得10
2分钟前
oreo完成签到,获得积分10
2分钟前
2分钟前
······发布了新的文献求助10
2分钟前
······完成签到,获得积分10
3分钟前
3分钟前
yjx发布了新的文献求助30
3分钟前
3分钟前
清脆咖啡发布了新的文献求助10
3分钟前
3分钟前
3分钟前
wang发布了新的文献求助10
3分钟前
华仔应助Name采纳,获得10
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Developing Genetic Editing Tools for Lysobacter 2000
卤化钙钛矿人工突触的研究 2000
Моделирование процессов самоорганизации в кристаллообразующих системах 1000
History of U.S. Space Surveillance and Satellite Cataloging 1000
Signals, Systems, and Signal Processing 610
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6518780
求助须知:如何正确求助?哪些是违规求助? 8311579
关于积分的说明 17769755
捐赠科研通 5620860
什么是DOI,文献DOI怎么找? 2926541
邀请新用户注册赠送积分活动 1903348
关于科研通互助平台的介绍 1764095