The invention provides a novel prompt
engineering method based on twinborn prompt, and relates to the technical field of prompt
engineering. According to the method, a high-
quality data set is constructed through real query and collection, multi-round screening and professional labeling, and then
model expansion and lyric filtering, so that the
data accuracy is improved; then, LLMs are adopted to construct a hierarchical reasoning model, and hierarchical reasoning comprises the steps that in the first stage, the heavy query is guided through a professional
view angle, and LLMs are helped to focus on core problems in the dual-carbon field; in the second stage, specific example optimization response is supplemented, accuracy and understandability are both considered,
domain knowledge is deeply activated, and response quality is remarkably improved; finally, the final response is evaluated through multiple indexes, the incredibility degree of the LLMs response is quantified through word amazing
degree distribution, the illusion risk recognition accuracy is improved, and the
information reliability is improved.