International Scientific Journal of Engineering and Management

An International Scholarly || Multidisciplinary || Open Access || Indexing in all major Database & Metadata
The journal follows the UGC Guidelines and is evaluated for inclusion in the Web of Science
ISSN: 2583-6129

Impact Factor: 8.072

Agentic LLM Pipeline for Natural Language to SQL

Version
File Size 656.83 KB
Downloads 1
Files 1
Published 26 May 2026
Updated 26 May 2026

Agentic LLM Pipeline for Natural Language to SQL

Authors:

Jaya Prakash S K1

1 PES University, Hosur Rd, Konappana Agrahara, Banglore, 560100, Karnataka, India
jayaprakash.s.krishnappa@gmail.com
https://github.com/JayaprakashSKJay/agentic-nl2sql-pipeline.git

Abstract. The Natural Language to SQL (NL2SQL) task has improved incredibly fast due to the emergence of large language models, but it is not easy to deploy it reliably on real relational databases. Direct one-shot generating systems are usually unable to execute complex joins, nested clauses, and schema grounding, and often give very little information as to the reasons a query was generated. In this research, I have concentrated on agentic NL2SQL pipeline which approaches SQL generation not as a one-step text generation process, but as a sequence of reasoning steps to decide.The proposed system integrates multilingual input processing, voice-to-text assistance, schema-aware search and structured query reformulation. It also encompasses guarded SQL generation, validation, iterative refinement and optional adaptive learning through the successful executions. This distribution is useful in real-time relational database querying and benchmark testing on the Spider data. It has been demonstrated experimentally that the better workflow is an improvement in both accuracy of execution, its robustness and interpretability compared to a single-pass pipeline, especially on more challenging queries and schemas with non-trivial join structure. Besides the benchmark analysis, the system has been tested on a live HR-style relational database on realistic join, aggregation, ranking and filter-based questions. The retrieval-based grounding, stage reasoning and validation-conscious correction are the reliable way for natural-language interfaces to relational databases

Keywords: NL2SQL, large language models, schema retrieval, query decomposition, iterative refinement, multilingual querying, voice interface, Spider benchmark.

Download
or download free
[changelog]

Categories & Tags

Similar Downloads

No related download found!
ISJEM Journal

Author's Blog

What is the difference between a Research Paper and a Review Paper?

A research paper and a review paper are both scholarly documents, but they serve different purposes and have different characteristics....
Read More
Author's Blog

What is DOI?

A Digital Object Identifier (DOI) is a unique alphanumeric string that is used to identify and provide a persistent link...
Read More
Author's Blog

What do you need to do during production of your Research Paper?

During the production of a research paper, the following steps need to be taken: conducting research, organizing and analyzing data,...
Read More
Author's Blog

What are the advantages of publishing a research paper?

Publishing a research paper can have many advantages for researchers, including: Career advancement, professional recognition, opportunities for collaboration, increased visibility,...
Read More
Author's Blog

Ways to Support your Academic Wellbeing which preparing the Research Paper/Article

To support your academic wellbeing while publishing a research paper, it's important to set realistic goals, manage your time effectively,...
Read More
Author's Blog

How to improve your Research Paper writing Skills?

Read extensively: One of the best ways to improve your research paper skills is to read extensively in your field...
Read More
Author's Blog

Is DOI compulsory to publish a research paper in a Journal?

DOI is not strictly required to publish a research paper, but it is highly recommended. Basically, the International Scientific Journal...
Read More
Author's Blog

In what ways does research paper give weight to career development?

Publishing a research paper can give weight to a researcher's career development in several ways, such as: establishing oneself as...
Read More
Author's Blog

How to develop a Research Paper from Scratch

Developing a research paper involves several steps including: choosing a topic, conducting background research, formulating a research question or hypothesis,...
Read More
Author's Blog

How Plagiarism report plays crucial role in Research Paper Publication?

Plagiarism is a major concern in the academic and research community, as it undermines the integrity of the research and...
Read More