The invention discloses a method for generating and constructing a
database test
knowledge base based on an
open source large
language model and retrieval enhancement, and relates to the technical field of
database testing, and the method comprises the steps: building a local deployment
system on a local computer
system or
server, and achieving the efficient local operation of the
open source large
language model and the stable output of language
processing service; on a local computer
system or a
server, a retrieval enhancement generation framework is constructed, and accurate knowledge support and reliable content output are provided for local language
processing service by integrating multi-
modal knowledge, optimizing retrieval and generation processes and guaranteeing safety and compliance; on a local computer system or a
server, a personalized
database knowledge base is built, database related information is collected and processed from multiple channels and is output in an adaptive form, and the specified information requirement of local personalized language
processing service is met. According to the method, efficient and stable operation of the
open source large
language model is realized, accurate and reliable language processing output is realized, and personalized services meet specific requirements.