主管:中华人民共和国应急管理部
主办:应急管理部天津消防研究所
ISSN 1009-0029  CN 12-1311/TU

Fire Science and Technology ›› 2025, Vol. 44 ›› Issue (11): 1670-1676.

Previous Articles     Next Articles

Design and implementation of fire protection standards question answering system using large language model

Guo Ge1,2,3, Hu Rui4, Ren Changxing1,2,3, Huang Jinzhu5, Wei Jidong5   

  1. (1. Tianjin Fire Science and Technology Research Institute of MEM, Tianjin 300381, China; 2. Key Laboratory of Fire Protection Technology for Industry and Public Building, Ministry of Emergency Management, Tianjin 300381, China; 3. Tianjin Key Laboratory of Fire Safety Technology, Tianjin 300381, China; 4. National Fire and Rescue Administration, Beijing 100097, China; 5. School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China)
  • Received:2025-04-03 Revised:2025-08-04 Online:2025-11-20 Published:2025-11-15

Abstract: As an authoritative standard for design, construction, and supervision, fire protection standards play a crucial role in ensuring work safety. However, the interpretation and implementation of standards have relied on the experienced operations of professionals and manual verification. To address this issue, this paper designs a question-answering system for fire protection standards based on large language models and retrieval augmented generation, realizing the knowledge question-answering function in the professional field of fire protection standards and specifications. The system consists of a large language model, an external knowledge base, and a user interface. To improve the retrieval quality of the knowledge base, a retrieval algorithm weighted by professional terms is proposed. A set of question optimization templates suitable for fire protection standards is constructed to enhance the accuracy of users' question and the quality of the system's answers. Considering data security, a lightweight local deployment is achieved. The practical tests show that the question-answering system can accurately answer questions related to fire protection standards and has good stability and practicality. The development of system has opened up new ideas for the intelligent expression recognition and content analysis of fire protection standards, and it represents a beneficial exploration of large language model technology in the field of smart fire protection.

Key words: fire protection standards, question and answer system, large language model, retrieval augmented generation, smart fire protection