先说个我最近才搞明白的事。AI 读你的提示词,不是从头到尾一样认真的。
它开头看得最仔细,中间和结尾就开始走神。这意味着啥?你吭哧吭哧写了一大段背景,什么"我们团队最近在做……""考虑到市场竞争……""所以我想……",它很可能压根没认真看。等你好不容易说到正事,它已经走神了。
腾讯云有篇文章说得挺直白,AI 是个"急躁的读者"。你开头 500 字还没说要它干嘛,它就开始自己猜了。你写的时候觉得自己在交代背景,它读的时候只觉得:这人说了半天,到底要我干啥?
所以有个反直觉的操作,把要它干的事放最前面,背景往后放。
别写"因为 A,所以 B,请你做 C"。写成"请你做 C。背景是 A,原因是 B"。你先告诉它干啥,它带着这个任务去看后面的材料,注意力就有地方落了。这跟人不一样。你跟同事交代事,可以先寒暄两句再进正题。AI 没有寒暄这回事,你前面写的话,它真当正文读。
还有一个坑更隐蔽。你写的那些"显得专业"的形容词,正在把你的指令冲淡。
"请以磅礴大气的笔触""要写得隽永深刻""风格灵动鲜活"。你写的时候觉得自己在提要求,AI 读的时候只干一件事,去语料库里找跟这些词最常一起出现的说法。而最常一起出现的,往往就是最平庸、最没劲的那批。
有个对比特别明显。你写"请以史诗笔触勾勒数字文明未来图景,意境隽永",它给你"在科技的星河中,人类文明如璀璨的箭"。你写"描述一个未来场景:包含一个具体科技成果,以及它带来的一个伦理冲突,用一家三口早餐对话来展现",它给你具体的对话和场景。前者是你在给它出作文题,后者是你在给它派活。
那到底咋写?
腾讯那篇给了一个土但特别好用的原则,把形容词换成任务约束。别说"写得专业一点",说"包含三个数据支撑,每个结论后面跟一个来源"。别说"语气亲切",说"用第二人称,每段不超过三句话,至少出现一次口语化的转折"。
形容词说的是你想要的感觉,任务约束说的是它该干的活。感觉是虚的,活是实的。让它干实的,比让它猜虚的靠谱。
还有个自查的点挺值得记。看看你的提示词里有没有互相打架的要求。比如"既要专业严谨,又要轻松活泼""既要详细全面,又要简洁明了"。你写的时候觉得"不矛盾啊,我要的是那种平衡感",但 AI 读到的是两股方向相反的力,它只能选一个,或者给你一个两边都不挨着的平庸妥协。
真需要平衡,就告诉它比例,或者谁优先。"以专业为主,但每段结尾用一句口语收束"。给它一个能照着做的排序,别给它一对矛盾。
说白了,写提示词最大的坑,是你用写作文的习惯去写指令。作文讲究铺垫、修辞、起承转合。指令讲究的是,第一句就告诉它干啥,后面每句都在帮它把这事干得更准。你写得越像"文章",它越容易把你当读者,而不是当操作员。
下次写提示词之前,把草稿前两句话删掉,直接从"请你做 X"开始。你会发现它听话多了。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
Let's start with something I've only recently figured out. AI reads your prompt, not as serious as ever.
It begins with the closest look, and begins with the middle and end. What does that mean? You've written a lot of background about what our team has been doing... considering the competition in the market... so I think... it's probably not really looking at it. When you get to the point, it's gone.
Tencent clouds have articles that are quite straightforward, and AI is an "immediate reader." You start with 500 words and you start guessing. When you write it, you feel like you're talking about it, and it reads it, "What does this man want me to do?"
So there's a counterintuitive operation that puts it in the front and back.
Don't write 'cause A, so B, please do C'. "Please do C." The background is A, cause B." Why don't you tell him what it's doing, and it's taking this mission to the back, and it's all gone. It's not like people. You talk to your colleagues, you can talk about it first. AI, there's no such thing as chilling. If you write it before, it's really hard to read.
There's another pit more hidden. The adjectives that you wrote about "professionally" are watering down your instructions.
"Please write with a pen touch in the atmosphere." You're writing what you think you're asking, and AI's reading only one thing, and you're going to go to the library to find the words that most often appear with them. And the most common ones are the most mediocre ones.
There's a particularly obvious contrast. You write, "Please touch the picture of the future of digital civilization with an epic pen, and it gives you, "In the galaxy of technology, the arrow of human civilization." You write, "Description of a future scenario: it contains a concrete scientific and technological outcome, and it brings an ethical conflict, with three breakfast conversations," and it gives you a concrete dialogue and scene. The first is you're writing it, the second is you're giving it life.
So what's it say?
The Tencent article gave an earthly but particularly useful principle, replacing the adjective with a mandate-bound one. Don't say "professionally" and say, "include three data support, each conclusion followed by a source." Don't say "intimate" and say, "In second person's words, not more than three words per paragraph, at least once in a verbal turn."
Adjectives say what you want, and mandate constraints say what it does. Feels false, alive. Make it dryer than make it false.
There's another thing worth remembering. See if your prompt has any requests to fight each other. Like, "Professionally and easily." It's both thorough and concise." You wrote "No contradiction, I want the sense of balance," but AI reads the opposite force, it can only choose one, or give you a mediocre compromise without either side.
If you really need balance, tell it the ratio, or who gives priority. "Professional, but at the end of each paragraph, a phrase is used." Give it a sort of order that you can do, don't give it a pair of contradictions.
To be honest, the biggest pit of prompt is where you write your instructions in writing. It is written on a pedestal, a speech and a start-up. The point of the directive is to tell it what to do in the first sentence, and every sentence that follows is to help it to do it better. The more you write, the easier it is to read you, not to operate.
Delete the first two sentences before writing prompt and start with "Please do X." You'll find it's too good.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.