Querying structured and unstructured data: LLM-first or DB-first?

Papotti, Paolo
DASFAA 2024, Keynote talk in 29th International Conference on Database Systems for Advanced Applications, 2-5 July 2024, Gifu, Japan

Is there a way to build data applications on top of information stored both in databases (DBs) and documents in natural language (NL)? We explore the merits and limitations of both Large Language Models (LLMs) and relational databases, questioning whether a LLM-first or a DB-first strategy is more effective to access data in a unified interface. The talk evaluates the role of NL questions and SQL in structured data retrieval and the processing capabilities of the corresponding models. We compare and contrast recent results on these topics and then conclude with an overview of the research challenges in effectively leveraging the combined power of SQL and LLMs.


Type:
Talk
City:
Gifu
Date:
2024-07-04
Department:
Data Science
Eurecom Ref:
7776
Copyright:
© EURECOM. Personal use of this material is permitted. The definitive version of this paper was published in DASFAA 2024, Keynote talk in 29th International Conference on Database Systems for Advanced Applications, 2-5 July 2024, Gifu, Japan and is available at :
See also:

PERMALINK : https://www.eurecom.fr/publication/7776