Large Language Model Based Chatbot for Database Interaction through Natural Language

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.

Authors

Publication Details

Published
2024-11-01
DOI
https://doi.org/10.17979/spudc.9788497498913.47
Primary Topic
AI in Service Interactions
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Large Language Model Based Chatbot for Database Interaction through Natural Language

David Vilares, Borja Souto Prego, Bruno Cabado Lousa
AI in Service Interactions
article

Large Language Model Based Chatbot for Database Interaction through Natural Language

David Vilares, Borja Souto Prego, Bruno Cabado Lousa
article en

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.

Xunta de Galicia, European Regional Development Fund, Agencia Estatal de Investigación
Openalex Percentile: Top 75%
AI in Service Interactions
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.