The invention provides a photovoltaic
knowledge question-answering method,
system and device based on a ReAct architecture, and relates to the technical field of photovoltaic information. The method comprises the steps that a
photovoltaic industry knowledge base is obtained, original
photovoltaic industry knowledge documents are processed through analysis, abstract generation and abstract vectorization, and a three-layer
storage structure containing an abstract vector index table, a document
metadata table and a complete
document storage library is formed; obtaining a user question, initializing a ReAct cycle and creating a memory
storage structure according to the user question and a retrieval tool set constructed based on the three-layer
storage structure; the ReAct circulation is executed until the end, and each round of circulation comprises the steps that questions,
system cue words and memory data are integrated to generate a context, a round tool and parameters are obtained through reasoning of a large
language model, and accordingly the tool is called to retrieve a
knowledge base, update memory and remove duplication; after the loop is terminated, an answer is generated based on the memory data. According to the method, when the photovoltaic problem is solved, the key diagnosis link and the solution can be deeply given out without omitting the key diagnosis link and the solution.