The application discloses a remote supervision quality alarm method and
system based on a large
language model, and the method comprises the following steps: S1, uploading and analyzing technical specification documents, converting the documents into quality specification requirements in
natural language expression; S2, performing block
processing to obtain multiple technical specification items, converting the technical specification items into embedding vectors by using a large
language model, and constructing a
knowledge base; S3, collecting structured supervision data of a production environment in real time, constructing a
data description question and a question embedding vector; S4, calculating the similarity between the question embedding vector and each embedding vector in the
knowledge base, and screening out relevant technical specification items based on a similarity threshold; and S5, combining the
data description question and the relevant technical specification items into a prompt, inputting the prompt into the large
language model, and performing alarm according to the output result of the large language model. According to the application, whether the data collected from the production environment meets the requirements of the specification file can be judged based on the bidding technical specification book and the bid file specified by a user, and alarm can be performed.