Summary
Name[ 您的提示名称及版本] GoalzÐ用一句话解释此尝试的目标zà 模型[ 所用模型的名称及版本 ]
| 温度 | [取值介于0到1]之间 | 令牌限制 | [数字] |
|---|---|---|---|
| Top-K | [数字] | Top-P | [数字] |
| 提示 | [Writeallthefullprompt] | ||
| 输出 | [写出输出或多个输出] |
表 21. 提示文档模板
摘要
本白皮书探讨了提示工程。我们学习了多种提示技术,例如:
零样本提示
少量样本提示
系统提示
角色提示
上下文提示
回退式提示
思维链
自我一致性
思维树
- ReAct
我们甚至研究了如何自动化您的提示词的方法x0
白皮书随后探讨了生成式 AI 的挑战,例如提示词不足时可能出现的问题。最后我们总结了成为优秀提示工程师的最佳实践。
全站分卷索引 · 34 卷
- 1Introduction
- 2Prompt engineering
- 3LLM output configuration
- 4Sampling controls
- 5Top-K and top-P
- 6Putting it all together
- 7Prompting techniques
- 8One-shot & few-shot
- 9System, contextual and role prompting
- 10System prompting
- 11Role prompting
- 12Contextual prompting
- 13Step-back prompting
- 14Chain of Thought (CoT)
- 15Self-consistency
- 16Tree of Thoughts (ToT)
- 17ReAct (reason & act)
- 18Automatic Prompt Engineering
- 19Code prompting
- 20Prompts for explaining code
- 21Prompts for translating code
- 22Prompts for debugging and reviewing code
- 23What about multimodal prompting?
- 24Design with simplicity
- 25Be specific about the output
- 26Control the max token length
- 27Experiment with input formats and writing styles
- 28Adapt to model updates
- 29JSON Repair
- 30Working with Schemas
- 31Experiment together with other prompt engineers
- 32CoT Best practices
- 33Summary
- 34Endnotes