infrastructural #
Writing an effective Prompt is a fundamental skill in getting quality responses, and while ChatGPT is the best model for understanding natural language in the world today, it is not a human being, and the core skill of the interaction lies in whether or not you describe clearly what you are asking for, and the formatting and standards of the desired answer. This basic section has a comparison of examples of inefficient and efficient Prompts:
Efficient Prompt– 目的是展示如何most efficientGet what you needclear answerReducing multiple rounds of interaction saves timeInefficient Prompt– 模糊的描述,在像探索一些开放问题的可能性时,也是常用的方法
Contains complete requirements and descriptions
这个是对结果影响最大的因素,如,你想让AI写一首关于猫猫的诗:低效的Prompt:
Write a poem about cats and kittens
它生成的答案可能就会很宽泛,而更好的方式是增加更多的信息:高效的Prompt:
In the style of `Li Bai`, write a `short` and `inspiring` poem about the `yellow-flowered cat`, `about its special ability to eat`.
Straightforward and less ambiguous
与人对话相同,直白、详细的要求可让对方更易明白你的意思,AI亦同。另外,在交互中应尽量减少歧义,少用模棱两可的词句,你的Prompt可以写很长,甚至建议您多提描述充分的具体要求:低效的Prompt:
The description of this product should be fairly short, just a few sentences, not too much explanation!
Efficient Prompt:
Please describe this product briefly in `3-5' sentences
Inefficient Prompt:
帮我生成小红书爆款标题
Efficient Prompt:
Generate `10`, `within 12 words`, Little Red Book pop-up headlines on the topic of `Spring Outing`
Focus on what you want and limit it if you need to afterward
It's better to describe what you want rather than what you don't want, but of course it's notDon't: xxxThe content of this description can not be used, if you have informed the model very clear points, and then you want to narrow down the scope, then add some limitations on the results of the description will improve the efficiency of a lot of Simply put, just remember one thing: The parts you ask for will all be fulfilled, and the parts you don't ask for, the AI will decide for itself which information to use to respond to you.Inefficient Prompt:
Recommend 10 classic movies, no horror movies, `not by Woody Allen`!
用户要求了一个范围很广的答案,而限制的只是一个很小的分类,可能AI本身就没考虑推荐Woddy导演的电影高效的Prompt:
Recommend 10 `suspenseful horror' classic movies without `gore', not `space'.
如果您没有指定分类和要求,可能有数千个好电影AI可能为您推荐,但如上要求细致,可以大概率提高回复质量,无需再通过后续多轮对话来精简结果低效的Prompt:
Suggest some English words that are often tested in IELTS
Efficient Prompt:
Recommended `20` English words that are commonly tested in IELTS and start with `A`.
Inefficient Prompt:
Recommended attractions to visit in Hong Kong, not museums
Efficient Prompt:
Recommend some `hong kong sightseeing spots, `including parks` that are closer to Tsim Sha Tsui.
Separate text to be processed using special symbol commands
Whether it's information summarization or information extraction, you're bound to be typing large paragraphs of text, or even multiple paragraphs of text, and here's a little trick. You can use"""(three quotes, single or double) or###(three # numbers) when the separator separates the instruction from the text. It has been tested that if there are multiple paragraphs of text, adding the"""会提升AI反馈的准确性低效Prompt
Extract the names of superheroes that appear in the textual content:
It's been six years since the last movie in the series, but it seems like the galactic sky team isn't so new to us, and they're still popping up frequently in the Marvel Universe:
Gamora's sacrifice and Star-Lord's furious beating of the Exterminator in Resurgence 3; the return of the entire team to the Final Battle and Star-Lord's meeting of Gamora from another dimension in Resurgence 4; Thor's brief companionship and departure from the team in Thor 4; Dex and Mantis Woman's kidnapping of Kevin Bacon, Star-Lord's sibling bonding with Mantis Woman, and Rocket's warming up of his friendship with Nebula in the Christmas special ......
And add the gender of the hero after the name
This ineffective Prompt example demonstrates the bad usage habits of most newbies:
- Split content with spaces or carriage returns only
- Start with a request, middle with pending information, end with another request
这个Prompt实际使用中大多数情况可能没什么问题,但当要处理的文字内容没那么有特点,或者有多段要处理的内容,AI可能将要处理的内容跟你的指令混淆高效Prompt
提取文字内容中出现的超级英雄名字,并在名字后面加上英雄的性别
"""
距离系列上一部电影已经过去六年,但对我们来说,似乎这支银河系天团并不那么陌生,他们的身影仍然在漫威宇宙中频繁出现:
复联3中卡魔拉牺牲、星爵怒揍灭霸;复联4中全员回归终局之战、星爵遇见另一时空的卡魔拉;雷神4中托尔短暂同行又离队;圣诞特别篇中德克斯和螳螂女绑架凯文·贝肯、星爵与螳螂女兄妹相认、火箭与星云友谊升温……
