The invention discloses a water conservancy
knowledge base and intelligent question and answer construction method based on a
large model and RAG, and the method comprises the steps: 1,
combing a water conservancy knowledge
system, and sorting water conservancy professional documents and data as materials of the
knowledge base; step 2, constructing a water conservancy knowledge
library management system through a J2EE
system, a B / S architecture and a
distributed object storage
system; step 3, based on the RAG technology, forming different knowledge bases according to the sorted
knowledge classification and
confidentiality security level of the water conservancy industry, and establishing a water conservancy knowledge intelligent question-answering system on the knowledge bases; 4, performing extended application on the basis of the constructed water conservancy knowledge intelligent question-answering system; the problems that in the prior art, due to the fact that
unstructured data processing is weak when a water conservancy
knowledge base is constructed, a large number of image-text mixed documents such as PDF and PPT cannot be effectively utilized, and the
recall rate and the accuracy rate are not high are solved.