A Chatbot System For Construction Daily
A Chatbot System For Construction Daily
1 Introduction
2 Literature Review
Consistently collecting and analyzing construction
management related information, such as the schedule
and cost, is very important for successful project results 2.1 Limitations of Previous Studies on
due to the inherent risks and uncertainty of the Construction Daily Report Systems
construction industry. Therefore, a systematic Many studies have suggested a system model for
communication plan or process between the general troubleshooting time-consuming and inefficient
contractor and subcontractors needs to be defined for processes performed each day for collecting data and
efficient data collection. creating construction daily reports.
However, it can be problematic if all participants do Russell et al. emphasized the importance of readily
not utilize a unified communication channel or if a low and reliably collecting data while presenting an early
level of technical understanding about the system model of the computing system [2]. However, even with
36th International Symposium on Automation and Robotics in Construction (ISARC 2019)
the advantages of storing and utilizing information, the relevant documents for users.
proposed early system model was not able to relieve the
burden on the business because the manager still had to
input all the information at construction field. In a case 3 Requirement and Coverage Definition
study lead by Yan-chyuan et al., a system model in which of the System
a daily report module extends its functionality by
incorporating the estimation, pricing, and accounting 3.1 Requirement of the System
system to enable cost management [3]. However, it was
also not clearly defined for the main body to enter the The system requirements defined through the
necessary report data. literature review are as follows:
Subsequently proposed system models were designed
to allow subcontractors to enter construction daily report 1. The chatbot system should be able to extract the
data. The system model designed by Chin et al. would information related to the daily report from the
reduce a manager’s tasks and enable plan-completion messages or through the conversation with the
management by entering detailed level of work items by chatbot and automatically store it in a linked
subcontractors [4]. More recently, a number of BIM- database.
based cloud computing software programs, such as 2. The chatbot system should be able to generate
BIM360 and Procore, allow for effective construction reports automatically based on information from the
project management by reflecting the system model database.
explained above.
However, while this software provides strong With respect to the first requirement, it is necessary
management functionality, it has a major issue in that the to define which types of information should be handled
systems require users to have a high level of technical by this system. In this research, information types are
understanding. Several factors, such as lack of education defined based on prior research by Song [6]. Song has
programs and low levels of subcontractor technical analyzed conversations that have taken place using IM
expertise, have been cited as the main cause of the applications on seven actual construction projects.
problem with regards to using a unified platform [5]. Through the analysis, “date,” “name of company,” “types
and number of labor,” “types and number of equipment,”
and “work items” have been defined as primarily shared
2.2 Possibilities and Limitations in Current
information types through IM applications. Figure 1 is an
Use of IM Applications for Daily Report example message for daily reporting, including the five
Information Collection information types used in construction projects.
Recently, participants of quite a few construction With respect to the second requirement,
projects have communicated using IM applications automatically created documents are defined as including
originally developed for nonbusiness purposes [6]. “project name,” “date,” “total number of units per labor
IM applications can provide better management type,” “total number of units per equipment type,” and
capabilities when coupled with external management “work item list” as shown in Figure 2.
systems, such as a BIM-based construction management In order to calculate the total number of laborers and
system explained above. However, due to the lack of equipment used, the sum of the numbers entered by
connectivity, managers are currently required to spend
additional time reformatting, integrating, and re-entering
the same information.
This study proposes a “chatbot” as a solution to such
redundant and manual data-input problems. In the
construction domain, NLP has been mainly used for
analysis of documentations for checking code
compliance [7], retrieving similar project cases [8], and
managing safety factors [9]. However, there are no
studies utilizing NLP for construction daily report related
data management.
In order to automatically manage information related Figure 1. Mainly shared information types in an
to the construction daily report through communications example user message for daily reporting
with the chatbot, the specific model of the chatbot system
needs to be designed to understand the messages from the different subcontractors must be determined.
users, to automatically extract the necessary information
or store it in the database, and to automatically generate
36th International Symposium on Automation and Robotics in Construction (ISARC 2019)
3.2 Coverage of the Defined Information The architecture of the chatbot system to meet the
Types in the System defined requirements will be explained in the next section.
In the case of labor and equipment, it has been
determined that it is generally entered in a structure that 4 Design of the Chatbot System
follows the order of “type,” “quantity,” and “unit name,”
such as “Mason 6 people” in Figure 1. Therefore, in this The architecture of the system to meet the above
requirements is designed as shown in Figure 3. This
study, a regular expression (regexp) approach is applied
system consists of a web application, a chatbot module,
to detect the types “number of labor” and “number of
and a back-end module that connects to IM applications.
equipment.”
The web application receives the text input from the
user through the IM application and transfers it to the
chatbot module. The chatbot module then analyzes the
messages from the users and generates a responding
sentence or call using several functions of the web
application and utilizing the back-end module.
The chatbot is an AI module based on Natural
The dialog model includes example messages messages as designed in Table 3. The remaining four
between the user and the chatbot. Messages from the information types were defined as “entities” for this
chatbot are generated by detecting one of the predefined dialog model, except for the non-structural form of work
“intents” and “entities” based on the context of the dialog. item mentioned previously.
The intent type “date” borrowed the most common
4.1 Chatbot Module Design for Information form of structure, and the intent type “name of company”
Extraction is defined as matching the text within a list of company
Several example expressions, including the message to determine how well it satisfies the requirements
“Please send me today’s construction report,” are identified in the requirements analysis phase of system
required for AI training as shown in Figure 6. development.
A single entity type is defined to obtain an e-mail First, the collaborative platform Slack, a well-
address from a user in regular expression pattern. established IM application, has been utilized for
It is also possible to skip this dialog in actual system connecting users and the chatbot system.
implementation because once the system saves the email The chatbot module has been implemented with
address, or has alternative information such as a phone Watson Assistant, which is an AI as a Service (AIaaS)
number, the chatbot can automatically generate the provided by IBM for designing and implementing
documents and send them to the user on a regular basis chatbots.
at a defined time. The web application has been implemented as a
Node.js application. Node.js is an open source
development platform for executing JavaScript code
5 Prototype Implementation server-side. In the development of the Node.js web
application, several packages shared through NPM
5.1 Configuration of the Prototype System (Node Package Manager) are included as dependencies
A prototype of the proposed system as depicted in of the system as explained in Table 4.
Figure 7 was developed to check the functional feasibility
Table 4. Utilized packages for Node.js web application
in the prototype
Name Role
Integrating IM application and
botkit
chatbot service
Providing web application
Express
framework
Node-
Handling database
MySQL
Generating and updating excel
XLSL
file
Nodemailer Sending e-mail
Figure 7. Configuration of the system
prototype The “botkit” package has been utilized to integrate
36th International Symposium on Automation and Robotics in Construction (ISARC 2019)
report’s Excel form, which is predefined in advance for subcontractors in terms of ease of use and for general
when requested by the user. contractors with regards to reducing the effort to collect
and document information. In addition, studies required
5.3 Discussion for structural recognition of work items and functional
range extensions for other management purposes, such as
Through the experiments, the chatbot system has schedule and cost management, are further expected.
been identified as a functional and feasible system model
that is expected to provide the following benefits:
· It can serve as a basis for enhancing management
Acknowledgements
functions because IM application data is no longer This work was supported by Institute for Information
volatile; it is now part of the system environment. & communications Technology Promotion(IITP) grant
· This system model is beneficial to both user groups. funded by the Korea government(MSIT) (No.2017-0-
The subcontractors do not require any special 00701(2nd year), Development of the Smart Field
courses in the system input process, and the burden Platform for Planning and Managing Building
of data collection and documentation is reduced for Construction), grant (no. 19AUDP-B127891-03) from
the general contractors. the Architecture and Urban Development Research
Program funded by the Ministry of Land, Infrastructure,
Nevertheless, the proposed system model has some
and Transport of the Korean Government and partially
problems to overcome at the current level.
supported by the Graduate School of Yonsei University
· In the case of labor and equipment, the structure of Research Scholarship Grants in 2017.
text was borrowed from a previous study. However,
for the “work items,” because each subcontractor
has a different work breakdown structure (WBS) References
and the text of the message is mixed with [1] Shridhar K. Rule based bots vs AI bots. Online:
information about the work location in an https://medium.com/botsupply/rule-based-bots-
unstructured form, it needs to incorporate a vs-ai-bots-b60cdb786ffa, Acessed: 2017,
cognitive approach based on standardized WBS and 03/22/2019.
LBS (Location Breakdown Structure). [2] Russell A. D., Computerized daily site reporting,
· Due to the nature of the interactive interface, Journal of Construction Engineering, 119
compared to the visual user interface, it is necessary (2):385-402, 1993.
to extend the dialog model in terms of convenience [3] Shiau Y. and Wang W., Daily report module for
to meet various user scenarios. For example, it may construction management information system,
be possible to modify only some of the total Proc. 20th Int. Symp. on Automation and
information entered, or to re-check the information Robotics in Construction, 2003.
entered. [4] Chin S., Kim K., and Kim Y.-S. J. J. o. c. i. c. e.,
Generate-select-check based daily reporting
system, 19 (4):412-425, 2005.
6 Conclusion [5] Construction M. H., "The Business Value of
This study presented a chatbot system model that BIM for Construction in Major Global
automatically extracts information related to the Markets." McGraw Hill Construction, Bedford,
construction work daily report exchanged in IM MA.," McGraw Hill Construction2014.
applications and automatically generates the construction [6] Song T. S., "Extracting daily report information
daily report. The proposed system model includes a from text messages between the field
chatbot module, web application, and database. Several managers," Master, Architecture &
types of “intents” and “entities” are defined as needed for Architectural Engineering, Yonsei University,
the conversation between users and the chatbot, along 2018.
with dialog models. Detected information through the [7] Zhang J. and El-Gohary N. M., Integrating
conversation between the user and chatbot could be semantic NLP and logic reasoning into a unified
utilized by the web application for data extraction and system for fully-automated code checking,
document generation using a database. Automation in Construction, 73:45-57,
The prototype was developed and validated to 2017/01/01/ 2017.
determine whether the chatbot system can perform [8] Zou Y., Kiviniemi A., and Jones S. W.,
functions related to the requirements of data extraction Retrieving similar cases for construction project
and document generation. risk management using Natural Language
The proposed system is expected to provide benefits
36th International Symposium on Automation and Robotics in Construction (ISARC 2019)