The invention discloses a
chip test retrieval method and
system based on a
large model, and the method comprises the following steps: collecting
chip test documents, and constructing a
chip test vector knowledge base; receiving user query, and executing search in the
knowledge base by using the word vector model structure; richer context information is generated based on a
retrieval result and user query, and a
test case or a
test analysis report is generated through a fine-tuned
large model. According to the method, the retrieval capability and the generation capability are effectively integrated, efficient retrieval of test instructions and knowledge and automatic generation of test cases / reports are achieved, and the chip
test efficiency and quality are remarkably improved. Meanwhile, the retrieval generation
system adopts a Django framework development platform, performs real-time streaming output and real-time feedback of retrieval results by means of the MyWebsocket technology, and writes question and answer data into MySQL. The
system comprises a
knowledge base construction module, a retrieval module, a generation module, a streaming interaction module and a data storage module. Compared with the prior art, the method has the advantages that the test instruction retrieval accuracy is improved by more than 18%, the
test case generation time is shortened by 60%, and the test knowledge is shared and reused.