以下是关于 prompt 的相关知识:
提示简介:
提示是您给 Claude 的文本,用于引发相关输出。提示通常以问题或指示的形式出现。例如:
|角色|提示|
|||
|用户|为什么天空是蓝色的?|
Claude 回答的文本被称为“响应”,有时也被称为“输出”或“完成”。
提示工程:
提示工程是人工智能领域中,特别是在自然语言处理(NLP)和大型语言模型(LLMs)的上下文中一个相对较新的概念。它涉及设计和优化输入提示,以引导 AI 模型生成特定类型的输出或执行特定的任务。
提示工程的关键点包括:
1. 精确性:通过精确的提示,可以提高 AI 模型输出的相关性和准确性。
2. 创造性:提示工程需要创造性地思考如何构建问题或请求,以激发 AI 模型的特定能力。
3. 迭代:通常需要多次尝试和调整提示,以获得最佳结果。
4. 上下文理解:提示需要包含足够的上下文信息,以便 AI 模型能够理解并执行所需的任务。
提示词通常指的是直接输入到 AI 模型中的问题、请求或指示,它们是提示工程的一部分。提示词可以非常简单,如“给我总结这篇文章的主要观点”,或者更复杂,如设计一个包含多个步骤和条件的复杂任务。
提示词是实际输入到 AI 系统中的具体文本,用以引导模型的输出。提示工程则是一个更广泛的概念,它不仅包括创建提示词,还涉及理解模型的行为、优化提示以获得更好的性能、以及创造性地探索模型的潜在应用。提示工程的目标是最大化 AI 模型的效用和性能,而提示词是实现这一目标的手段之一。在实际应用中,提示工程可能包括对 AI 模型的深入分析、用户研究、以及对特定任务的定制化提示设计。
头脑风暴常用的 20 个 prompt:
1. Brainwriting Prompt: “Let's brainstorm ideas for by writing down as many ideas as you can, then I can build on them with related ideas. Structure your answer using markdown.”
2. Reverse Brainstorming Prompt: “We will use reverse brainstorming for coming up with intentionally bad ideas can spark creativity and lead us in new directions.”
3. Mind Mapping Prompt: “Please create a complete mind map for starting with a central concept and expanding outward with connected branches of related ideas.”
4. Assumptions Prompt: “List your assumptions about . Then, how can you challenge those assumptions to come up with innovative ideas? Describe your journey.”
5. SWOT Analysis Prompt: “Let's do a SWOT analysis on considering internal strengths/weaknesses and external opportunities/threats. Then write a conclusion to summarize.”
6. SCAMPER Prompt: “Use the SCAMPER checklist to ideate on . How can we substitute, combine, adapt, modify, put to other uses, eliminate, or reverse? Detail your answers.”
7. Six Thinking Hats Prompt: “Use the Six Hats method: the red hat is optimistic, the black hat looks at negatives, etc. Ideate on from different mindset angles.”
8. Worst Possible Idea Prompt: “Brainstorm intentionally terrible ideas for to get the creative juices flowing in new directions. Expand on your answers a little, explaining why these ideas are bad.”
9. Trigger Words Prompt: “Here are some random words: ?”
10. Questioning Prompt: “Generate questions about , like who, what, when, where, why, how? Turn the questions into ideas.”
11. Rolestorm
2024-11-22