REVIEW 3 cited by
Querying Large Language Models with SQL
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
read the original abstract
In many use-cases, information is stored in text but not available in structured data. However, extracting data from natural language text to precisely fit a schema, and thus enable querying, is a challenging task. With the rise of pre-trained Large Language Models (LLMs), there is now an effective solution to store and use information extracted from massive corpora of text documents. Thus, we envision the use of SQL queries to cover a broad range of data that is not captured by traditional databases by tapping the information in LLMs. To ground this vision, we present Galois, a prototype based on a traditional database architecture, but with new physical operators for querying the underlying LLM. The main idea is to execute some operators of the the query plan with prompts that retrieve data from the LLM. For a large class of SQL queries, querying LLMs returns well structured relations, with encouraging qualitative results. Preliminary experimental results make pre-trained LLMs a promising addition to the field of database systems, introducing a new direction for hybrid query processing. However, we pinpoint several research challenges that must be addressed to build a DBMS that exploits LLMs. While some of these challenges necessitate integrating concepts from the NLP literature, others offer novel research avenues for the DB community.
Forward citations
Cited by 3 Pith papers
-
Large Language Models for Predictive Analysis: How Far Are They?
Existing LLMs perform poorly on predictive analysis, with the best model scoring 24.11/28 and most models failing to generate executable code.
-
Contrato360 2.0: A Document and Database-Driven Question-Answer System using Large Language Models and Agents
Contrato360 2.0 answers contract-management queries by combining RAG, text-to-SQL, and agent orchestration, but the claimed improvement over prior methods is not rigorously established.
-
Surveillance Capitalism Revealed: Tracing The Hidden World Of Web Data Collection
Visiting samsung.com triggered requests to Facebook, Twitter, TikTok, Pinterest, and ad networks, and Samsung ads later appeared on globo.com.
Discussion (0). Continue with ORCID to comment.