This paper reports on creating virtual assistants (VA) that enable users to query a database in the natural language. Building SQL queries from the natural language is a complicated task. We build the query via a conversation between the user and the virtual assistant allowing the users to describe their needs during a more detailed conversation. The VA uses information about the schema of the data source to guide the user. The query is built incrementally. To test the proposed method, we implemented a dialogue system for querying a part of the Open Food Facts database. The evaluation results show that users successfully completed the task in most cases. The easiest task was completed by 72% of users, the most sophisticated task was completed by 58% of users. To finish the tasks, users had to provide parameters that the VA prompted for, to sort the records, and to add filtering conditions using natural language. The proposed approach allows the building of similar VAs for different databases.
CITATION STYLE
Deksne, D., & Skadiņš, R. (2023). Virtual Assistant for Querying Databases in Natural Language. In Lecture Notes in Networks and Systems (Vol. 561 LNNS, pp. 555–564). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-031-18344-7_39
Mendeley helps you to discover research relevant for your work.