The invention discloses a
large model and RAG-based file generation method and device, and the method comprises the steps: carrying out the
deep learning and semantic analysis of an uploaded bidding document file through a
large model LLM, extracting core project information, and judging the business field and industry category; combining the information, and screening a matching template by referring to an industry
knowledge graph and a set bidding document template
database to generate a bidding document
directory outline; then, according to the outline, the LLM extracts data from a set material
library for filling, and a first draft of the bidding book is generated; then, the NLP technology is used for auditing the first draft, the problem of the consistency between the waste bidding factors and the terms is checked, correction suggestions are given, and the correction suggestions are corrected by editors to obtain a corrected bidding book; and finally, adjusting the format of the revised version, optimizing typesetting, performing manual review, and outputting a final bidding book manuscript. The bidding document compiling efficiency and quality can be improved, compliance is guaranteed, the
enterprise application threshold is reduced, and enterprises are assisted to obtain advantages in bidding.