On the Construction of Database Interfaces Based on Large Language Models

João Pinheiro, Wendy Victorio, Wendy Victorio, Eduardo Nascimento, Eduardo Nascimento, Antony Seabra, Yenier Izquierdo, Grettel García, Gustavo Coelho, Melissa Lemos, Melissa Lemos, Luiz Leme, Antonio Furtado, Marco Casanova, Marco Casanova

2023

Abstract

This paper argues that Large Language Models (LLMs) can be profitably used to construct natural language (NL) database interfaces, including conversational interfaces. Such interfaces will be simply called LLM-based database (conversational) interfaces. It discusses three problems: how to use an LLM to create an NL database interface; how to fine-tune an LLM to follow instructions over a particular database; and how to simplify the construction of LLM-based database (conversational) interfaces. The paper covers the first two problems with the help of examples based on two well-known LLM families, GPT and LLaMA, developed by OpenAI and Meta, respectively. Likewise, it discusses the third problem, with the help of examples based on two frameworks, LangChain and LlamaIndex.

Download


Paper Citation


in Harvard Style

Pinheiro J., Victorio W., Nascimento E., Seabra A., Izquierdo Y., García G., Coelho G., Lemos M., Leme L., Furtado A. and Casanova M. (2023). On the Construction of Database Interfaces Based on Large Language Models. In Proceedings of the 19th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST; ISBN 978-989-758-672-9, SciTePress, pages 373-380. DOI: 10.5220/0012204000003584


in Bibtex Style

@conference{webist23,
author={João Pinheiro and Wendy Victorio and Eduardo Nascimento and Antony Seabra and Yenier Izquierdo and Grettel García and Gustavo Coelho and Melissa Lemos and Luiz Leme and Antonio Furtado and Marco Casanova},
title={On the Construction of Database Interfaces Based on Large Language Models},
booktitle={Proceedings of the 19th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST},
year={2023},
pages={373-380},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012204000003584},
isbn={978-989-758-672-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 19th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST
TI - On the Construction of Database Interfaces Based on Large Language Models
SN - 978-989-758-672-9
AU - Pinheiro J.
AU - Victorio W.
AU - Nascimento E.
AU - Seabra A.
AU - Izquierdo Y.
AU - García G.
AU - Coelho G.
AU - Lemos M.
AU - Leme L.
AU - Furtado A.
AU - Casanova M.
PY - 2023
SP - 373
EP - 380
DO - 10.5220/0012204000003584
PB - SciTePress