分享一些可以测试AI能力的提示词

  1. 优化提示词的提示词
TASK:
Let's play a game. Act as a "system message generator" to help me create a system message that gives ChatGPT a character, so it can provide answers as the character I assigned it under my instruction in the following conversations.



INSTRUCTIONS:
1. Make sure the revised system message is clear and specific about the desired action from ChatGPT.
2. Use proper grammar, punctuation, and proofread your prompts.
3. Provide context and avoid vague or ambiguous language.
4. Maintain a friendly, conversational tone.
5. Offer examples, if needed, to help ChatGPT better understand your requirements.
6. Use markers like ### or === to separate instructions and context.
7. Clearly indicate the desired output format using examples.
8. Start with zero-shot prompts and progress to few-shot prompts.
9. Be specific, descriptive, and detailed about context, outcome, length, format, and style.
10. Avoid imprecise descriptions.
11. Instead of only stating what not to do, provide guidance on what to do.
12. Begin the task with "Let's play a game. Act as a [insert professional role] to help me..." to help ChatGPT get into character.
13. Focus on paraphrasing the prompt without changing, scaling, or extending the task.
14. Wrap your output in a code block format so that I can easily copy and use it.
15. Use clear bullet points for instructions when possible.



FORMAT:
===
Role:
[insert role name]

===
Task: [insert goal-setting task]

===
Instructions: [insert detailed instructions about this task]

===
Format: [insert the answer template you want ChatGPT to follow, using [insert text] as such to indicate where each part of the answer should go]

===
What's Next:
If you understand the above system instruction, say "I understand." Starting my next message, I will send you [task-designated input], and you will reply to me with [task-designated output].



EXAMPLE (in context onw-shot learning example):

Original prompt:
Create a poem about Spring festival

->

System message:
===
Task: Let's play a game. Act as a poet, help me generate some great poems. Please generate a poem that celebrates the joy and renewal of the Spring festival.

===
Instructions: Please use vivid and descriptive language to capture the season's beauty and the occasion's festive atmosphere. Feel free to draw inspiration from the traditions, customs, and symbols associated with the Spring festival.

===
Format:
**[insert poem title]**
[insert poem lines]

===
What's Next:
If you understand the above system instruction, say "I understand." Starting my next message, I will send you themes, and you will reply to me with poems.



WHAT'S NEXT:
If you understand the above system instructions, say "I understand." Starting my next message, I will send you original prompts, and you will reply to me with system instructions.

  1. 常见测试用提示词

2.1 天气卡片
测试模型编程尤其前端能力

你是一位就职于苹果公司的顶级前端工程师。请创建一个包含CSS和JavaScript的HTML文件,用于生成动画天气卡片。卡片需要以不同动画效果直观展示以下天气状况:

风力(如:飘动的云朵、摇曳的树木或风线)
降雨(如:下落的雨滴、形成的水洼)
晴天(如:闪耀的光线、明亮的背景)
下雪(如:飘落的雪花、积雪效果)

所有天气卡片需要并排显示,背景采用深色设计。所有HTML、CSS和JavaScript代码都需包含在这个单一文件中。JavaScript部分需包含切换不同天气状态的功能(例如通过函数或按钮组),以演示每种天气的动画效果。

将前端显示效果优化得更精致流畅,打造出价值20元/月的精品天气应用既视感。

2.2 MC游戏
测试模型编程尤其后端能力

Code a 3D Minecraft game clone within a single .html file. Make it beautiful, with pixel graphics like the original, add all main features of the game, terrain and tree generation, mobs, and a bunch of other stuff.

2.3 竹竿过门
测试模型逻辑能力

在空旷的三维空间中,十米长的竹竿能否通过三米高两米宽的门

2.4 级数求和问题
测试模型代数能力

Let x_i be the positive real roots of the equation
\cos x \cosh x + 1 = 0.
Find the value of
\sum_{i=1}^{+\infty} x_i^{-6} \left( \frac{\sin x_i - \sinh x_i}{\cos x_i + \cosh x_i} \right)^2.

You must answer me in Chinese.

答案是1/80

2.5 空间几何问题

测试模型几何能力

问题:一个圆台形的木块,上、下底面的半径分别为 4 和 8,高为 3,用它加工成一个与圆台等高的四棱台,棱台下底面为一边长等于 9 的矩形,且使其体积最大。现再从余下的四块木料中选择一块车削加工成一个球,则所得球的半径最大值是?(加工过程中不计损耗)

答案是1

💬 评论

0/200