Metraipolis › archive › dc_4ba79b1b4e3c
Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB — arXiv:2504.01157
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2504.01157
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T22:48:11.824Z
- SHA-256 of the archived text
ec7325ece37febc51ff464a2242e59f23458b2bf04af38e6efe4bf034eb940d3- Stable URL of this page
https://metraipolis.com/documento/dc_4ba79b1b4e3c
How to cite
Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB — arXiv:2504.01157 — arXiv (en), https://arxiv.org/abs/2504.01157 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4ba79b1b4e3c (Metraipolis archive dc_4ba79b1b4e3c, sha256 ec7325ece37febc51ff464a2242e59f23458b2bf04af38e6efe4bf034eb940d3)
BibTeX
@misc{dc4ba79b1b4e3c,
title = {Beyond Quacking: Deep Integration of Language Models and RAG into DuckDB — arXiv:2504.01157},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2504.01157},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4ba79b1b4e3c; sha256 ec7325ece37febc51ff464a2242e59f23458b2bf04af38e6efe4bf034eb940d3},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2504.01157. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Knowledge-intensive analytical applications retrieve context from both structured tabular data and unstructured, text-free documents for effective decision-making. Large language models (LLMs) have made it significantly easier to prototype such retrieval and reasoning data pipelines. However, implementing these pipelines efficiently still demands significant effort and has several challenges. This often involves orchestrating heterogeneous data systems, managing data movement, and handling low-level implementation details, e.g., LLM context management. To address these challenges, we introduce FlockMTL: an extension for DBMSs that deeply integrates LLM capabilities and retrieval-augmented generation (RAG). FlockMTL includes model-driven scalar and aggregate functions, enabling chained predictions through tuple-level mappings and reductions. Drawing inspiration from the relational model, FlockMTL incorporates: (i) cost-based optimizations, which seamlessly apply techniques such as batching and caching; and (ii) resource independence, enabled through novel SQL DDL abstractions: PROMPT and MODEL, introduced as first-class schema objects alongside TABLE. FlockMTL streamlines the development of knowledge-intensive analytical applications, and its optimizations ease the implementation burden. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-15 in cs.AI). Categorie arXiv: Databases (cs.DB) ; Artificial Intelligence (cs.AI); Information Retrieval (cs.IR). Pagina del lavoro: https://arxiv.org/abs/2504.01157 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T22:29:03.387Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).