Work

Intelli-Dispatch-SQL: An LLM-based agent for reliable Text-to-SQL in power dispatching

Year: 2025
Type: article
Abstract: The increasing complexity of modern power systems, driven by factors such as the large-scale integration of renewable energy and the proliferation of distributed generation, has placed unprecedented demands on power dispatching operations. Ensuring grid stability and safety in this new environment requires real-time monitoring and swift, data-driven decision-making. Consequently, efficient and accurate data querying capabilities have become paramount. This study introduces Intelli-Dispatch-SQL, a novel agent-based Text-to-SQL framework that leverages the Large Language Model (LLM) to enhance the accuracy and reliability of generated SQL queries in the context of power dispatching. By integrating intent recognition and SQL validation modules, Intelli-Dispatch-SQL ensures that generated queries are not only syntactically correct but also semantically aligned with user intent and executable within the operational context. Through comprehensive experiments, including ablation studies and cross-model evaluations, we demonstrate that Intelli-Dispatch-SQL significantly outperforms existing Text-to-SQL models, achieving substantial improvements in both Exact Match (EM) and Execution Accuracy (EX). Notably, the incorporation of intent recognition and SQL validation modules is shown to be critical for performance enhancement. The framework’s effectiveness was further validated across various LLMs, confirming its robustness and applicability across diverse scenarios. Intelli-Dispatch-SQL offers a high-performance and generalizable solution for Text-to-SQL in power dispatching, paving the way for more efficient and intelligent power system management.
Authors: Binye Ni, Xinlei Cai, Zhijun Shen, Zijie Meng, Junhua Zhao, Yuheng Cheng, Xuanang Gui
Language: English
Open Access status: gold
Estimated APC paid: $3,630
OpenAlex ID: W4413640872
FWCI: 4.699
Cites: 30
Cited by: 11
Related to: 10