Answers are grounded in this paper and cite their sources.
With the advancement of building digitalization and safety management, Working-at-Heights presents challenges due to its complex scenarios and dispersed regulations, making it difficult for on-site personnel to quickly and accurately query and assess compliance. While general-purpose large language models possess text capabilities, they lack professional knowledge adaptation, are not updated in a timely manner, and provide answers without sufficient evidence, thus failing to directly meet the safety and compliance requirements of Working-at-Heights. This paper deploys a localized retrieval-augmented generation (RAG) system based on RAGFlow and Docker. Addressing the safety consultation needs of Working-at-Heights, it transforms regulations and standards into a vector knowledge base. The system integrates keyword and semantic retrieval for precise positioning and aims to reduce hallucinations through source tracing and prompt constraints. Simultaneously, it connects to online retrieval to supplement the latest regulations, achieving a dual-track question–answering (Q&A) mechanism of “local priority, online supplementation.” A typical scenario test set of 100 questions was constructed to evaluate three system configurations across multiple dimensions, including accuracy, traceability, timeliness, and latency. The results show that faithfulness scores increased from 0.45 for the pure large model to 0.91 for local RAG and 0.97 for full-functionality integration, while context recall improved from 0.78 to 0.93 between the latter two configurations. However, response latency also increased from 2.1 s to 4.5 s and 6.8 s, respectively. These findings indicate that local RAG provides more reliable and traceable responses to basic compliance inquiries, whereas full-functionality integration offers superior performance in dynamic information supplementation and handling of unsafe requests. Overall, the integrated approach demonstrates potential for supporting on-site safety compliance consultation and risk assessment, providing a foundation for intelligent applications in construction safety management.
No takes yet. Share an insight, caveat, or question.
Ho et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: