bruno@cabado:~$ cat research/5.md

← research/

Large Language Model Based Chatbot for Database Interaction through Natural Language

Conference PaperSPUDC2024

  • AI
  • SQL
  • LLM
Key result

Demonstrated practical NL-to-SQL interaction quality across four LLMs using human evaluation metrics.

  • Non-technical users often face barriers when querying structured databases directly.
  • Natural-language access can democratize analytics and reduce operational dependency on SQL experts.
  • Built a chatbot pipeline that maps user questions to SQL queries and verbalizes returned results.
  • Benchmarked multiple LLM backends with human-centric quality evaluation criteria.
  • Validated feasibility of conversational database access for real workflows.
  • Provided a comparative baseline for improving reliability and usability in NL database assistants.

## Abstract

In today’s data-driven world, the ability to access and interpret information is crucial for informed decision-making. However, technical complexities in database management often create barriers for non-experts. This paper presents a prototype of a chatbot leveraging large language models (LLMs) to bridge this gap. The chatbot interprets natural language questions about structured databases and translates them into SQL queries, retrieving relevant data and converting results back into natural language. The system was tested with four different LLMs, evaluated by human evaluation on a number of metrics: accuracy, relevance, fluency, completeness, cohesion, and naturalness. The results show the usefulness of the approach and how it can make data interaction more user-friendly by democratizing data access, reducing human workload, and empowering users to focus on strategic tasks.

bruno@cabado:~$ mail hi@brunocabado.com# I share work, research and product experiments in AI systems

$ send-message$ wget cv.pdf$ open linkedin$ open github

© 2026 Bruno Cabado · designed & developed in Galicia with Astro

↑↓ navigate · Enter open · Esc close

key bindings

0–8select window
n / pnext / previous window
ctalk to the agent pane
% / " or -split side by side / stacked (up to 3 panes, each shows a window)
Spacenext layout (side by side → stacked → main + stack → main + row)
qshow pane numbers, then press one to jump there
{ / }swap the focused pane with the main one
Shift+←↑↓→resize (main pane smaller / larger)
o · Ctrl+b ←↑↓→focus next pane · pane in that direction
zzoom the focused pane (again to restore)
xclose the focused pane (closing the main one promotes the split)
ttoggle theme (dark ⇄ latte) · :theme next cycles gruvbox, nord, tokyo, dracula
/ · Ctrl+ksearch the whole site
:command prompt
:set keys offdisable single-key shortcuts (the prefix still works)
Ctrl+bprefix — every key above also works after it; % " x and arrows need it

commands: search · select-window <name|n> · open <query> · ask <question> · split-window [-h|-v] [name] · kill-pane · zoom · swap-pane · layout · theme [mocha|latte|gruvbox|nord|tokyo|dracula] · ls · exit · help
agent: type /clear to reset the conversation