Key points are not available for this paper at this time.
Large language models (LLMs) with in-context learning have significantly improved the performance of text-to-SQL task. Previous works generally focus on using exclusive SQL generation prompt to improve the LLMs' reasoning ability. However, they are mostly hard to handle large databases with numerous tables and columns, and usually ignore the significance of pre-processing database and extracting valuable information for more efficient prompt engineering. Based on above analysis, we propose RB-SQL, a novel retrieval-based LLM framework for in-context prompt engineering, which consists of three modules that retrieve concise tables and columns as schema, and targeted examples for in-context learning. Experiment results demonstrate that our model achieves better performance than several competitive baselines on public datasets BIRD and Spider.
Building similarity graph...
Analyzing shared references across papers
Loading...
Zhenhe Wu
Zhongqiu Li
Zhang Jie
Building similarity graph...
Analyzing shared references across papers
Loading...
Wu et al. (Thu,) studied this question.
www.synapsesocial.com/papers/68e609ceb6db64358759d866 — DOI: https://doi.org/10.48550/arxiv.2407.08273
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: