The invention discloses a
knowledge question-answering
system based on a large
language model. The method comprises the steps that a power operation and maintenance
knowledge base module obtains data from a
data source for preprocessing, constructs a power operation and maintenance field
knowledge graph, converts text content into semantic vectors and integrates the semantic vectors to form a power operation and maintenance
knowledge base; the problem understanding module is used for identifying and analyzing problems and converting the user problems into semantic vectors; the retrieval and reordering module is used for performing semantic retrieval in the
electric power operation and maintenance
knowledge base, recalling knowledge information related to question
semantics, and ordering retrieval results based on
semantic relevance, knowledge confidence and information importance; and the answer generation module is used for integrating the knowledge information and the user question into input of a large
language model, generating prompt information, and generating an answer in a
natural language form according to the prompt information by adopting the large
language model based on data fine adjustment in the field of power operation and maintenance. According to the scheme, the
deep learning technology is used for understanding
semantics of user questions, and accurate retrieval is carried out in the knowledge base.