← 返回目录

Endnotes

第 34 / 34 卷日期:

提示工程

尾注

. Google, 2023, Gemini by Google. 访问地址 : h ps://gemini.google.com.
. Google,2024,GeminiforGoogleWorkspacePromptGuide.访问地址:hps://inthecloud.withg

com/gemini‑for‑google‑workspace‑prompt‑guide/dl‑cd.html.

  1. Google Cloud,2023 年,《提示工程入门》。访问地址:h ps://cloud.google.com/ve ex‑ai/generative‑ai/docs/learn/

prompts/introduction‑prompt‑design。

  1. Google Cloud,2023 年,《文本模型请求体:Top‑P 与 top‑K 采样方法》。访问地址:h ps://cloud.google.com/

ve ex‑ai/docs/generative‑ai/model‑reference/text#request_body。

.魏杰等人,2023年,《零样本——微调语言模型即零样本学习者》。访问地址:hps://arxiv.org/pdf/
. Google Cloud,2023 年,《 Google Cloud 模型花园》。访问地址:h ps://cloud.google.
.布朗等人,2023年,《少样本——语言模型即少样本学习者》。访问地址:hps://arxiv.org/pdf/2005

14165.pdf。

  1. 郑磊等人,2023 年,《退一步:通过抽象激发大语言模型推理能力》。访问地址:h ps://openreview.net/pdf?id

=3bq3jsvcQ1

nðx0~ • õ x@~ Mx0x@~ õ `~ Ñ 0x0x@~ n€n`n€n•x@~ à Ñ • ~ ð € ~ „ à ð ° • à `~ w ° ð € € ` • • x0~ à Ñ 0Ñ ê 0õ ~ Ñ `xP~ h ps://arxiv.org/pdf/2201.11903.pdfx0

  1. Google Cloud Platform,2023 年,《思维链与反应》。发布于:https://github.com/GoogleCloudPlatform/generative‑ai/

blob/main/language/prompts/examples/chain_of_thought_react.ipynb。~

  1. 王旭等,2023 年,《自洽性提升语言模型中的思维链推理》。发布于:https://arxiv.org/pdf/2203.11171.pdf。
  2. 姚松等,2023 年,《思维树:利用大语言模型进行审慎问题解决》。发布于:https://arxiv.org/pdf/2305.10601.pdf。
  3. 姚松等,2023 年,《 ReAct:语言模型中推理与行动的协同》。发布于:https://arxiv.org/pdf/2210.03629.pdf。
  4. Google Cloud Platform,2023 年,《高级提示工程:思维链与反应》。发布于:https://github.com/

GoogleCloudPlatform/applied‑ai‑engineering‑samples/blob/main/genai‑on‑vertex‑ai/advanced _prompting_training/cot_react.ipynb。

  1. 周晨等,2023 年,《自动提示工程 —— 大语言模型达到人类水平的提示工程能力》。发布于:https://arxiv.org/pdf/2211.

01910.pdf。

全站分卷索引 · 34 卷
  1. 1Introduction
  2. 2Prompt engineering
  3. 3LLM output configuration
  4. 4Sampling controls
  5. 5Top-K and top-P
  6. 6Putting it all together
  7. 7Prompting techniques
  8. 8One-shot & few-shot
  9. 9System, contextual and role prompting
  10. 10System prompting
  11. 11Role prompting
  12. 12Contextual prompting
  13. 13Step-back prompting
  14. 14Chain of Thought (CoT)
  15. 15Self-consistency
  16. 16Tree of Thoughts (ToT)
  17. 17ReAct (reason & act)
  18. 18Automatic Prompt Engineering
  19. 19Code prompting
  20. 20Prompts for explaining code
  21. 21Prompts for translating code
  22. 22Prompts for debugging and reviewing code
  23. 23What about multimodal prompting?
  24. 24Design with simplicity
  25. 25Be specific about the output
  26. 26Control the max token length
  27. 27Experiment with input formats and writing styles
  28. 28Adapt to model updates
  29. 29JSON Repair
  30. 30Working with Schemas
  31. 31Experiment together with other prompt engineers
  32. 32CoT Best practices
  33. 33Summary
  34. 34Endnotes