Enhancing Accuracy and Maintainability in Nuclear Plant Data Retrieval: A Function-Calling LLM Approach Over NL-to-SQL
Mishca de Costa, Muhammad Anwar, Dave Mercier, Mark Randall, Issam Hammad

TL;DR
This paper introduces a function-calling LLM approach for nuclear plant data retrieval, replacing direct NL-to-SQL translation to improve accuracy, transparency, and maintainability in critical operational environments.
Contribution
It proposes a hybrid method using pre-defined functions with LLMs to enhance safety and trust in querying complex nuclear plant databases, addressing limitations of traditional NL-to-SQL approaches.
Findings
Improved accuracy over direct NL-to-SQL methods
Enhanced maintainability through validated function libraries
Reduced risk of incorrect data retrieval
Abstract
Retrieving operational data from nuclear power plants requires exceptional accuracy and transparency due to the criticality of the decisions it supports. Traditionally, natural language to SQL (NL-to-SQL) approaches have been explored for querying such data. While NL-to-SQL promises ease of use, it poses significant risks: end-users cannot easily validate generated SQL queries, and legacy nuclear plant databases -- often complex and poorly structured -- complicate query generation due to decades of incremental modifications. These challenges increase the likelihood of inaccuracies and reduce trust in the approach. In this work, we propose an alternative paradigm: leveraging function-calling large language models (LLMs) to address these challenges. Instead of directly generating SQL queries, we define a set of pre-approved, purpose-specific functions representing common use cases.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScientific Computing and Data Management · Advanced Database Systems and Queries · Mathematics, Computing, and Information Processing
MethodsFocus · Sparse Evolutionary Training
