A Closed-Domain Natural Language Database Query System by LLMs

In this study, we have proposed an innovative database query system integrated with natural language processing capabilities of large language models (LLMs); in which, the privacy and public access problems are addressed by a local deployment. To confront the challenges of providing privacy protection and access controls commonly available in traditional database system, our system operates in a closed network environment. By combining prompt engineering with structured databases, it facilitates non-technical users with efficient complex data retrieval using natural language. The front-end interface, built with Streamlit, enhances usability, while Docker-based containerization ensures consistent deployment and maintenance. Performance evaluations using multiple benchmark datasets demonstrate that the proposed prompt strategies significantly improve SQL generation accuracy, confirming the system's practicality and flexibility across diverse application scenarios.

Authors

Institutions

Publication Details

Published
2025-06-27
DOI
https://doi.org/10.1109/is3c65361.2025.11131102
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Closed-Domain Natural Language Database Query System by LLMs

Hung-Kuang Chen, Yu Chen, M. Huang
Natural Language Processing Techniques
article

A Closed-Domain Natural Language Database Query System by LLMs

Hung-Kuang Chen, Yu Chen, M. Huang
article en

Abstract

In this study, we have proposed an innovative database query system integrated with natural language processing capabilities of large language models (LLMs); in which, the privacy and public access problems are addressed by a local deployment. To confront the challenges of providing privacy protection and access controls commonly available in traditional database system, our system operates in a closed network environment. By combining prompt engineering with structured databases, it facilitates non-technical users with efficient complex data retrieval using natural language. The front-end interface, built with Streamlit, enhances usability, while Docker-based containerization ensures consistent deployment and maintenance. Performance evaluations using multiple benchmark datasets demonstrate that the proposed prompt strategies significantly improve SQL generation accuracy, confirming the system's practicality and flexibility across diverse application scenarios.

Taichung City Government (TW), National Chin-Yi University of Technology (TW)
Quality Education
Openalex Percentile: Top 88%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Closed-Domain Natural Language Database Query System by LLMs — Hung-Kuang Chen, Yu Chen, et al. · (2025) | TGRS Research Map | TGRS