ScholarGate
助手
Process / pipeline

提示工程 — 大型语言模型的指令设计

提示工程是精心设计结构化自然语言指令(即提示)以从大型语言模型(LLMs)获得目标输出的实践。该方法由 Brown 等人(2020)在 GPT-3 的背景下形式化,并由 Wei 等人(2022)通过思维链提示(chain-of-thought prompting)进行了扩展,它包含四种主要策略:零样本(zero-shot)、少样本(few-shot)、思维链(chain-of-thought)和思维树(tree-of-thought)。分析师不重新训练模型,而是完全通过输入文本的设计来塑造模型的行为。

在 MethodMind 中打开即将推出视频即将推出Download slides

阅读完整方法

仅限会员

使用免费账户登录即可阅读本节。

登录

Method map

The neighbourhood of related methods — select a node to explore.

来源

  1. Brown, T. et al. (2020). Language Models are Few-Shot Learners. Advances in Neural Information Processing Systems (NeurIPS), 33, 1877-1901. link
  2. Wei, J. et al. (2022). Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. Advances in Neural Information Processing Systems (NeurIPS), 35. link

如何引用本页

ScholarGate. (2026, June 1). Prompt Engineering (Instruction Design for Large Language Models). ScholarGate. https://scholargate.app/zh/text-mining/prompt-engineering

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

Compare side by side
ScholarGatePrompt Engineering (Prompt Engineering (Instruction Design for Large Language Models)). 于 2026-06-15 检索自 https://scholargate.app/zh/text-mining/prompt-engineering · 数据集: https://doi.org/10.5281/zenodo.20539026