This invention relates to a contract review method and
system. The method includes: performing multi-channel retrieval of the contract to be reviewed based on a pre-built contract
knowledge base to obtain contract retrieval results, re-
ranking them, and generating enhanced context; matching contract prompt word templates according to
contract type, and adjusting the contract prompt word templates based on historical feedback information to generate optimized prompt words; inputting the contract to be reviewed, enhanced context, and optimized prompt words into an optimal large
language model to generate contract review opinions, performing structured
parsing, and outputting structured review results; and adjusting at least one of the strategy parameters used in multi-channel retrieval and re-
ranking, as well as the weight and content of the prompt word
template library, based on
user feedback on the review results, and triggering incremental updates to the contract
knowledge base. Using this invention can improve contract retrieval accuracy,
ranking effect, and prompt word adaptability, ensuring
continuous optimization of review capabilities and improving the accuracy and efficiency of contract review.