A digital-intelligent
power regulation question-answering method and
system based on a large
language model belongs to the technical field of power
automation, and the method comprises the following steps: collecting a
power regulation field text, using an embedded model to obtain a vector code of the
power regulation field text, and storing the vector code in a vector
knowledge base; when a user puts forward a question, receiving a user
question text and preprocessing the user
question text; inputting the preprocessed user
question text into a retrieval tool, and performing retrieval and matching in a vector
knowledge base to obtain a text of which the comprehensive similarity meets the requirement; and carrying out post-
processing on the text of which the comprehensive similarity meets the requirement by adopting a large
language model, and generating a corresponding answer. According to the method, a
large model technology, a retrieval enhancement generation technology, a memory mechanism and a chained
workflow mechanism are introduced into the field of power regulation and control, the vector
knowledge base is established to construct the chained
workflow and the intelligent question and answer chained
workflow, the question and answer accuracy can be improved, more
natural language interaction can be achieved, and the question and answer experience is improved.