Google_提示工程(英)

Prompt EngineeringAuthor: Lee Boonstra 提示工程作者:LeeBoonstraPrompt提示工程EngineeringAuthor: Lee Boonstra作者:LeeBoonstraGoogleGooglePrompt EngineeringFebruary 20252AcknowledgementsContent contributorsMichael ShermanYuan CaoErick ArmbrustAnant NawalgariaAntonio GulliSimone CammelCurators and EditorsAntonio GulliAnant NawalgariaGrace Mollison Technical WriterJoey HaymakerDesignerMichael Lanning 提示工程2025年2月2 致谢内容贡献者MichaelShermanYuanCaoErickArmbrustAnantNawalgariaAntonioGulliSimoneCammelCuratorsandEditorsAntonioGulliAnantNawalgariaGraceMollison技术文档作者JoeyHaymaker设计师MichaelLanning提示工程Prompt EngineeringAcknowledgements致谢Content contributors内容贡献者Michael ShermanMichael ShermanYuan CaoYuan CaoErick ArmbrustErick ArmbrustAnant NawalgariaAnant NawalgariaAntonio GulliAntonio GulliSimone CammelSimone CammelCurators and EditorsCurators and EditorsAntonio GulliAntonio GulliAnant NawalgariaAnant NawalgariaGrace MollisonGrace MollisonTechnical Writer技术文档作者Joey HaymakerJoey HaymakerDesigner设计师MichaelMichael LanningLanningFebruary 20252025年2月Introduction 6Prompt engineering 7LLM output configuration 8Output length 8Sampling controls 9Temperature 9Top-K and top-P 10Putting it all together 11Prompting techniques 13General prompting / zero shot 13One-shot & few-shot 15System, contextual and role prompting 18System prompting 19Role prompting 21Contextual prompting 23Table of contents 引言6提示工程7LLM输出配置8输出长度8采样控制9温度9Top‑K和top‑P10将所有内容整合在一起11提示技术13通用提示/零样本13单样本和少样本15系统、上下文和角色提示18系统提示19角色提示21上下文提示23目录目录TableofcontentsIntroduction引言6提示工程Z.LLM.输出配算.8.输出长度8采样控制.9.温度.9.ToP-K.和.tOP-P.10.将所有内Prompt engineering.容整合在一起11提示技术13通用提示/零样本13单样本和少样本15系统、上下文和角色提示18系统提示19角色提示2Y上下叉提示23LLM output configuration.Output length.Sampling controls.Temperature.Top-K and top-P10Putting it all together.11Prompting techniques.,13General prompting / zero shot,13One-shot & few-shot..15System, contextual and role prompting..18System prompting..19Role prompting..21Contextual prompting.Step-back prompting 25Chain of Thought (CoT) 29Self-consistency 32Tree of Thoughts (ToT) 36ReAct (reason & act) 37Automatic Prompt Engineering 40Code prompting 42Prompts for writing code 42Prompts for explaining code 44Prompts for translating code 46Prompts for debugging and reviewing code 48What about multimodal prompting? 54Best Practices 54Provide examples 54Design with simplicity 55Be specific about the output 56Use Instructions over Constraints 56Control the max token length 58Use variables in prompts 58Experiment with input formats and writing styles 59For few-shot prompting with classification tasks, mix up the classes 59Adapt to model updates 60Experiment with output formats 60 后退提示25思维链(CoT)29自洽性32思维树(ToT)36ReAct(推理与行动)37自动提示工程40代码提示42编写代码的提示42解释代码的提示44翻译代码的提示46调试和审查代码的提示48多模态提示怎么办?54最佳实践54提供示例54简洁设计55明确输出内容56使用指

立即下载
综合
2025-11-06
67页
16.86M
收藏
分享

Google_提示工程(英),点击即可下载。报告格式为PDF,大小16.86M,页数67页,欢迎下载。

本报告共67页,只提供前10页预览,清晰完整版报告请下载后查看,喜欢就下载吧!
立即下载
本报告共67页,只提供前10页预览,清晰完整版报告请下载后查看,喜欢就下载吧!
立即下载
水滴研报所有报告均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
相关图表
低碳社会下氢能在不同领域应用的技术经济准备度和可行性
综合
2025-11-06
来源:环保行业碳中和领域动态追踪(一百六十四):氢氨醇,碳中和背景下不可低估的新市场
查看原文
重点行业过去四年碳排放增速
综合
2025-11-06
来源:环保行业碳中和领域动态追踪(一百六十四):氢氨醇,碳中和背景下不可低估的新市场
查看原文
新加坡汽油库存(万桶) 图 86:新加坡柴油库存(万桶)
综合
2025-11-06
来源:原油月报:三大机构上调2025年全球原油累库预期
查看原文
欧洲汽油库存(万桶) 图 84:欧洲柴油库存(万桶)
综合
2025-11-06
来源:原油月报:三大机构上调2025年全球原油累库预期
查看原文
美国汽油总库存(万桶) 图 82:美国柴油库存(万桶)
综合
2025-11-06
来源:原油月报:三大机构上调2025年全球原油累库预期
查看原文
美国 5 大页岩油产区合计库存井和总完井率(口,%) 图 57:美国 Permian 地区页岩油库存井和完井率(口,%)
综合
2025-11-06
来源:原油月报:三大机构上调2025年全球原油累库预期
查看原文
回顶部
报告群
公众号
小程序
在线客服
收起