Maintenance of building fire protection facilities is crucial for preventing fires and safeguarding lives and property; the standardization and timeliness of these activities directly determine operational reliability. However, as fire-safety requirements escalate, manually drafting maintenance work orders remains inefficient and prone to omissions. Furthermore, regulatory documents in this domain are inherently complex, and annotated resources are scarce, hampering the digitalization of fire-safety management. To address these challenges, this paper presents an LLM-based method for automatically generating maintenance work orders for building fire protection facilities. The proposed approach integrates a domain-specific knowledge base and incorporates the FS-RAG (Fire Services–Retrieval-Augmented Generation) framework to enhance both the accuracy and practical usability of generated work orders. First, we construct a lightweight domain knowledge base, FSKB (Fire Services Knowledge Base), derived from extensive maintenance regulations, capturing key elements such as equipment types, components, maintenance actions, and frequencies. Second, we design an FS-RAG framework that leverages retrieval-augmented generation to extract critical information from regulations and fuse it with the knowledge base, ensuring high accuracy and operational feasibility. Multi-round evaluations across stages B0–B4 validate the effectiveness of our method. Results indicate significant improvements over traditional approaches: the line-level compliance rate reaches 97.3% (an increase of 5.7% over B1 and 30.4% over B0), and the F1 score achieves 90.42% (an increase of 12.62% over B1 and 29.87% over B0).
Han et al. (Fri,) studied this question.