The Framework and Implementation of Using Large Language Models to Answer Questions about Building Codes and Standards

Civil and structural engineering design projects are subject to strict regulations of relevant codes and standards to guarantee that certain standards of safety, reliability, and efficiency are met. However, ensuring that all engineering designs comply with the precise provisions of pertinent civil and structural engineering codes and standards is a complex and time-consuming task currently completed by professional engineers. Recent advancements in artificial intelligence have enabled large language models (LLMs) to complete abstract and complex tasks, such as answering questions based on provided context and summarizing text passages, with high accuracy. This work presents a novel framework to build an open-source and scalable LLM-based application allowing engineers to quickly receive accurate answers to their codes-and-standards-related questions alongside corresponding citations simply by interacting in natural language with a ChatGPT-style chatbot. This work also presents a preliminary implementation of this framework using the National Building Code of Canada 2020. The system implemented achieves promising results, indicating that the proposed framework may be a useful tool to assist design engineers in efficiently and effectively completing their work and that this approach holds promise for applications to other domains.

Authors

Institutions

Publication Details

Journal
Journal of Computing in Civil Engineering
Published
2025-05-07
DOI
https://doi.org/10.1061/jccee5.cpeng-6037
Citations
9
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
22.33
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Framework and Implementation of Using Large Language Models to Answer Questions about Building Codes and Standards

Qipei Mei, Ying Hei Chui, Isaac Joffe, George Felobes et al.
9 citations
Journal of Computing in Civil Engineering
Topic Modeling
22.33
article

The Framework and Implementation of Using Large Language Models to Answer Questions about Building Codes and Standards

Qipei Mei, Ying Hei Chui, Isaac Joffe, George Felobes, Youssef Elgouhari, Mohammad Talebi Kalaleh
article en
9 citations

Abstract

Civil and structural engineering design projects are subject to strict regulations of relevant codes and standards to guarantee that certain standards of safety, reliability, and efficiency are met. However, ensuring that all engineering designs comply with the precise provisions of pertinent civil and structural engineering codes and standards is a complex and time-consuming task currently completed by professional engineers. Recent advancements in artificial intelligence have enabled large language models (LLMs) to complete abstract and complex tasks, such as answering questions based on provided context and summarizing text passages, with high accuracy. This work presents a novel framework to build an open-source and scalable LLM-based application allowing engineers to quickly receive accurate answers to their codes-and-standards-related questions alongside corresponding citations simply by interacting in natural language with a ChatGPT-style chatbot. This work also presents a preliminary implementation of this framework using the National Building Code of Canada 2020. The system implemented achieves promising results, indicating that the proposed framework may be a useful tool to assist design engineers in efficiently and effectively completing their work and that this approach holds promise for applications to other domains.

Journal of Computing in Civil EngineeringVol. 39(4)
University of Alberta (CA)
Sustainable cities and communities
Openalex Percentile: Top 1%
Topic Modeling
22.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.