上次更新时间:2026 年 2 月
编写良好的提示是使用 Copilot 获得更好结果的关键。 就像有一些技术可帮助有效地与人类通信一样,有一些提示可帮助在编写提示时通过 Copilot 获得更好的结果。
下面是一些要考虑的提示:
包括 详细信息:除了你的目标(希望 Copilot 执行的操作),考虑包括一些上下文,说明 Copilot 应如何响应以满足你的请求,以及 Copilot 应使用的任何特定信息源(例如文件或电子邮件)。 在 Word 中使用 Copilot 尝试以下两个提示,并比较你收到的响应。 哪个提示为你提供了更丰富、更简洁的博客文章草稿?
- 提示 1:Write a blog post about sustainable practices in agriculture.
- 提示 2:Craft a 1500-word blog post for a general audience interested in sustainability, focusing on the significance and benefits of sustainable agricultural practices like organic farming and agroforestry. Include real-world examples, innovative technologies, and insights from reputable sources. Conclude with a reflection on the importance of these practices and a call for collective efforts to embrace them
构建 提示以获取更好的结果。 对于提示,顺序很重要。 指令的顺序可能会影响你得到的响应。 提示的后面部分可能比前面部分更重要。 尝试不同的顺序来了解影响。 如果希望 Copilot 使用特定文件或源,请将该信息放在最后。 在 Word 中使用 Copilot 尝试以下两个提示,并比较你收到的响应。 你在此处看到哪些差异?
- 提示 1 (instruction-context-example) : Craft a blog post outlining the benefits of meditation. Meditation has been a practice for centuries and is known for reducing stress. For instance, mindfulness meditation has shown positive effects on mental health.
- 提示 2 (context-example-instruction) : Meditation has been a practice for centuries and is known for reducing stress. Mindfulness meditation, for example, has shown positive effects on mental health. Given this, craft a blog post outlining the benefits of meditation.
提供 正面指令。 Copilot 旨在采取行动,因此告诉 Copilot“该做什么”而不是“不做什么”更有效。 尝试使用“if-then”说明。
迭代和重新生成:通常第一个结果不是最终或最佳响应。 如果你对 Copilot 提供的结果不满意,请修改提示,然后重试。 尝试以下三个循环访问,并查看每次循环访问如何改进响应。
- 第 1 轮:Write about advancements in renewable energy technologies.
- 第 2 轮:Write a technical article discussing recent advancements in renewable energy technologies, focusing on solar and wind energy, for an audience of engineers and environmental scientists.
- 第 3 轮:Compose a detailed technical article for engineers and environmental scientists, exploring recent advancements and innovations in renewable energy technologies, with a focus on solar and wind energy. Discuss the scientific principles behind these technologies, their efficiency improvements, and real-world applications. Refer to recent research papers, patents, and industry reports for accurate and up-to-date information.
始终查看并验证从 Copilot 获取的响应。 Copilot 基于大型语言模型 (LLM) 构建,这些模型经过训练可以预测下一个字词和短语。 LLM 偶尔可能会生成一些带有偏见、攻击性、有害或不正确的内容。 因此,必须一致地审查和验证响应的准确性和适当性。