本文已被:浏览 3067次 下载 4540次
Received:August 19, 2024 Revised:September 19, 2024
Received:August 19, 2024 Revised:September 19, 2024
中文摘要: 提示词工程在解锁大语言模型潜能上具有重要作用. 该方法通过设计提示指令指导模型响应, 确保响应的相关性、连贯性和准确性. 提示工程无需微调模型参数, 可与下游任务无缝衔接. 因此, 各种提示词工程技术成为近年来研究的热点. 据此, 介绍了创建有效提示词的关键步骤, 总结了基础和高级提示词工程技术方法, 如思维链、思维树, 深入探讨了每种方法的优势和局限性. 同时, 讨论了如何从不同角度和不同方法评估提示方法的有效性. 这些技术的迅速发展使大语言模型在各种应用中取得了成功, 从教育、医疗到代码生成等. 最后, 展望了提示词工程技术的未来研究方向.
Abstract:Prompt engineering plays a crucial role in unlocking the potential of large language model. This method guides the model’s response by designing prompt instructions to ensure the relevance, coherence, and accuracy of the response. Prompt engineering does not require fine-tuning model parameters and can be seamlessly connected with downstream tasks. Therefore, various prompt engineering techniques have become a research hotspot in recent years. Accordingly, this study introduces the key steps for creating effective prompts, summarizes basic and advanced prompt engineering techniques, such as chain of thought and tree of thought, and deeply explores the advantages and limitations of each method. At the same time, it discusses how to evaluate the effectiveness of prompt methods from different perspectives and using different methods. The rapid development of these technologies enables large language models to succeed in a variety of applications, ranging from education and healthcare to code generation. Finally, future research directions of prompt engineering technology are prospected.
keywords: large language model (LLM) prompt engineering chain of thought (CoT) tree of thought (ToT)
文章编号: 中图分类号: 文献标志码:
基金项目:山东省自然科学基金(ZR2019LZH006)
引用文本:
王东清,芦飞,张炳会,李道童,彭继阳,王兵,姚藩益,艾山彬.大语言模型中提示词工程综述.计算机系统应用,2025,34(1):1-10
WANG Dong-Qing,LU Fei,ZHANG Bing-Hui,LI Dao-Tong,PENG Ji-Yang,WANG Bing,YAO Fan-Yi,AI Shan-Bin.Survey on Prompt Engineering in Large Language Model.COMPUTER SYSTEMS APPLICATIONS,2025,34(1):1-10
王东清,芦飞,张炳会,李道童,彭继阳,王兵,姚藩益,艾山彬.大语言模型中提示词工程综述.计算机系统应用,2025,34(1):1-10
WANG Dong-Qing,LU Fei,ZHANG Bing-Hui,LI Dao-Tong,PENG Ji-Yang,WANG Bing,YAO Fan-Yi,AI Shan-Bin.Survey on Prompt Engineering in Large Language Model.COMPUTER SYSTEMS APPLICATIONS,2025,34(1):1-10

