Saved in:
Bibliographic Details
Main Authors: Tang, Haiyang, Chen, Dongping, Chu, Qingzhao
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.06699
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916242007261184
author Tang, Haiyang
Chen, Dongping
Chu, Qingzhao
author_facet Tang, Haiyang
Chen, Dongping
Chu, Qingzhao
contents With the rapid advancement of natural language processing technologies, generative artificial intelligence techniques, represented by large language models (LLMs), are gaining increasing prominence and demonstrating significant potential for applications in safety engineering. However, fundamental LLMs face constraints such as limited training data coverage and unreliable responses. This study develops a vector database from 117 explosion accident reports in China spanning 2013 to 2023, employing techniques such as corpus segmenting and vector embedding. By utilizing the vector database, which outperforms the relational database in information retrieval quality, we provide LLMs with richer, more relevant knowledge. Comparative analysis of LLMs demonstrates that ChatSOS significantly enhances reliability, accuracy, and comprehensiveness, improves adaptability and clarification of responses. These results illustrate the effectiveness of supplementing LLMs with an external database, highlighting their potential to handle professional queries in safety engineering and laying a foundation for broader applications.
format Preprint
id arxiv_https___arxiv_org_abs_2405_06699
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ChatSOS: Vector Database Augmented Generative Question Answering Assistant in Safety Engineering
Tang, Haiyang
Chen, Dongping
Chu, Qingzhao
Computation and Language
Artificial Intelligence
With the rapid advancement of natural language processing technologies, generative artificial intelligence techniques, represented by large language models (LLMs), are gaining increasing prominence and demonstrating significant potential for applications in safety engineering. However, fundamental LLMs face constraints such as limited training data coverage and unreliable responses. This study develops a vector database from 117 explosion accident reports in China spanning 2013 to 2023, employing techniques such as corpus segmenting and vector embedding. By utilizing the vector database, which outperforms the relational database in information retrieval quality, we provide LLMs with richer, more relevant knowledge. Comparative analysis of LLMs demonstrates that ChatSOS significantly enhances reliability, accuracy, and comprehensiveness, improves adaptability and clarification of responses. These results illustrate the effectiveness of supplementing LLMs with an external database, highlighting their potential to handle professional queries in safety engineering and laying a foundation for broader applications.
title ChatSOS: Vector Database Augmented Generative Question Answering Assistant in Safety Engineering
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2405.06699