OpenAI Officially Teaches You 8 Tricks to Master ChatGPT

marsbit发布于2026-07-16更新于2026-07-16

文章摘要

OpenAI has released an updated guide with eight key strategies to get better results from ChatGPT: 1. **Use the latest model** (e.g., GPT-5.6 Sol) for best performance with prompt engineering. 2. **Provide clear, specific instructions**, detailing the desired content, format, style, and length. Avoid vague requests. 3. **Structure prompts effectively**: Place the core instruction at the beginning and use delimiters like `###` or `"""` to separate instructions from the text to be processed. 4. **Use examples and explanations** to clarify the exact output format and style you want. 5. **Adopt a stepwise approach**: Start with a zero-shot prompt (instruction only), then add a few examples (few-shot) if needed, and consider fine-tuning only as a last resort. 6. **Avoid vague or imprecise descriptions**. Use concrete terms (e.g., "3-5 sentences") instead of phrases like "keep it brief." 7. **Specify what to do, not just what to avoid**. After stating restrictions, guide the model toward the correct action. 8. **For code generation, use "leading words"** like `import` for Python or `SELECT` for SQL to steer the model into the correct pattern. Additionally, OpenAI's new "Generate Anything" feature can automatically create suitable prompts based on a simple description of your task. Mastering these techniques helps users get more accurate and useful outputs from ChatGPT.

Special Announcement, OpenAI's Latest Prompt Guide is Updated!

If you haven't tamed ChatGPT yet,

or are still struggling with its answers becoming increasingly tangled like a ball of yarn,

then you must save today's latest OpenAI prompt guide!

We have summarized eight little tricks from the official website to make your ChatGPT obedient and generate accurate content;

We also teach you how to use the official "Generate Anything" function to let AI automatically help you write a set of professional and useful instructions, saying goodbye to the pain of designing prompts.

Let's take a look!

First, Please Use GPT-5.6 Sol Whenever Possible

To achieve the best results, we recommend that friends with the capability manually switch to OpenAI's latest and most powerful model, GPT-5.6 Sol. (Newer models are generally easier to execute prompt engineering.)

Be Sure to Specifically Describe the Effect You Want in Your Instructions

When using ChatGPT, you can think of the model as an assistant who delivers acceptable quality but requires patient instructions in advance. Clearly tell it item by item: the content, results, word count, format, style, etc., that you want.

Note, don't give a vague instruction~

Otherwise, the one struggling on the edge of rework and working tirelessly later will still be you (doge).

Vague command:

"Write a poem about OpenAI."

Specific instruction:

Create a short inspirational poem about OpenAI, centered around the recent DALL-E product launch (DALL-E is a text-to-image machine learning model), imitating the writing style of {famous poet}.</n

For example, I want AI to help me plan where to go for the weekend.

Then I need to give it a clear goal, letting it know if I want to exercise, visit scenic spots, attend exhibitions, or eat out. Otherwise, you'll have to redo it several times, and your enthusiasm will be largely worn out during the back-and-forth.

Negative example❌:

This time it's right✅:

Prompt Optimization Technique: Place Instructions First + Use Correct Delimiters to Isolate Context

Secondly, during use, please place the core requirements at the very beginning (or first line) of the prompt, and use the officially recommended delimiters "###" or """"" to clearly separate "instructions" from "text to be processed":

❌Mixing them together is a NO:

Summarize the key points of the following text into a bulleted list.

{Enter text here}

Clear separation is a YES:

Summarize the key points of the following text into a bulleted list. Text: """{Enter text here}"""

This structure effectively improves the model's understanding accuracy of the task. For example, I used it to optimize a rhyming essay (randomly written, and only used the official delimiter "###" once before the text), and it really did it well. I'm very satisfied:

Before using this format, ChatGPT's output was always a bit off🤔:

However, it should be noted that what I used to test was just a very simple topic. When you put it into practice, it's best to use the official format completely~

Use Examples and Explanations to Make OpenAI Understand the Format You Want

For example, if I want to create a meme, it's best to give it some references and explanations first, letting it understand what kind of slogan I want to add, where to add it, and what effect I want. This way, ChatGPT can complete the task more thoroughly and respond faster:

Take the creation process of a meme in this article as an example. Don't let it improvise, it will be disastrous❌:

Explain it clearly and give a reference✅:

Start with Zero-Shot, Then Consider Adding a Few Examples, and Finally Consider Fine-Tuning Data

When performing a task, you don't need to throw all the data to AI at once;

You can give an instruction first and see how it does;

Then, based on its shortcomings, feed it a few examples.

If it still can't handle it at this step, you can prepare to do some "ideological work" for it—feed the model a large number of correct examples, train it, and solidify this ability into the model's parameters.

You can look at the examples👇:

Zero-shot

Extract keywords from the following text

Text:{Text content}

Keywords:

Few-shot - provide a couple of examples

Extract keywords from the corresponding text below.

Text 1: Stripe provides APIs that web developers can use to integrate payment processing into their websites and mobile applications. Keywords 1: Stripe, payment processing, APIs, web developers, websites, mobile applications##

Text 2: OpenAI has trained cutting-edge language models that excel at understanding and generating text. Our API provides access to these models and can solve almost any task that involves language processing. Keywords 2: OpenAI, language models, text processing, APIs##

Text 3:{Text content} Keywords 3:

Fine-tune: see fine-tune best practices here.

Reduce Vague or Imprecise Descriptions

When buying fruit in the summer, the real "tragedy" is often not spending a lot of money on a durian with a clear price;

But being lured by a promotional blackboard on the street, buying a seemingly cheap "blind box" where the quality relies entirely on a gamble.

After all, sometimes, expensive has its reasons. When you buy it, the price is clear, you know what you're getting, and the taste is sweet;

But once deceived, even if the seller's scale is honest, what you get might be a fruit with vague cost-effectiveness, no after-sales service, and its quality entirely up to fate.

For ChatGPT, the principle is exactly the same—you need to use precise instructions to make it "work steadily," not let it guess:

✅ChatGPT: Let's get to work, folks!

Describe this product in 3-5 sentences.

❌ChatGPT: A few sentences??(@#¥%&)

The introduction of this product should be as concise as possible, just a few sentences, no need for extra elaboration.

Don't Just Say "What Not to Do," Also Say "What Should Be Done" and "How"

Many friends, when using AI, might be too worried about AI generating results we don't want. So after stating what to do, they anxiously repeat instructions like "You cannot delete my first sentence," "Don't change the original meaning," etc.

Such concerns are completely normal.

It's just that OpenAI wants to remind everyone: After saying a series of "don'ts," you still need to tell ChatGPT what to do and how to do it~

✅What situation, what I want to do:

Context: Below is a conversation between an Agent and a user. The Agent needs to try to identify the problem and provide a solution, while refraining from asking for any personally identifiable information (PII). Do not request private information such as usernames or passwords; instead, guide the user to check the help documentation.

User: I can't log into my account.

Agent:......(Provide a response)

AI: Sometimes I feel quite helpless:

Below is a conversation between an Agent and a user. It is strictly forbidden to ask for usernames or passwords, and repetition is prohibited.

User: I cannot log into my account.

Agent:......(Provide a response)

Code Generation Specific Technique: Use "Leading Words" to Prompt the Model to Follow Specific Code Patterns

Additionally, when you need ChatGPT to help you generate code, the correct approach is to explicitly add leading words like "import," "SELECT," etc., before the content.

For example, adding "import" prompts the model that it should start writing Python code;

Similarly, when you add a "SELECT" statement, OpenAI prompts the model to start writing SQL statements.

Never just throw the requirements directly at it❌:

Write a simple Python function

Let me input a value in miles

Convert miles to kilometers

Instead✅:

Write a simple Python function

Let me input a value in miles

Convert miles to kilometers

import (don't forget~)

Learn to Use the "Generate Anything" Function

If, after mastering the above 8 tricks, you still find writing prompts challenging, or wish to further free your hands, then this final function is your ultimate shortcut.

With OpenAI's latest "Generate Anything" function, you only need to clearly state what you want to do and that you need a suitable prompt. GPT will automatically generate the most appropriate prompt for you, helping you easily achieve your task goals.

For example, removing accidentally captured passersby from photos and beautifying the image, or creating a humorous poem based on your current mood... GPT will try its best to help you do it. (You can try it out yourself~)

Anyway, knowledge from paper is ultimately shallow, so quickly take this guide and go tame your ChatGPT!

Or if you have handy prompt techniques, feel free to compete in the comments section~~~

This article is from the WeChat public account "QbitAI" (ID: QbitAI), author: Focus on Cutting-Edge Technology

热门币种推荐

相关问答

QWhat are the eight prompt writing tips suggested by OpenAI to improve ChatGPT's performance?

AThe eight tips are: 1. Use the most recent model (like GPT-5.6 Sol), 2. Provide specific and detailed descriptions of the desired outcome, 3. Place key instructions at the beginning and use delimiters (### or """) to separate instructions from text, 4. Use examples and explanations to clarify the desired format, 5. Start with zero-shot prompting, then use few-shot examples, and finally consider fine-tuning, 6. Reduce vague or imprecise language, 7. Tell the model what to do, not just what not to do, and 8. Use 'leading words' (like 'import' for Python) when generating code.

QWhy is it important to place key instructions at the beginning of the prompt and use delimiters according to OpenAI's guide?

APlacing key instructions at the beginning (or on the first line) and using delimiters like ### or """ helps the model better understand and prioritize the task by clearly separating the 'instruction' from the 'text to be processed.' This structure improves the model's accuracy in understanding and executing the task.

QAccording to the article, what is the recommended progression of methods (zero-shot, few-shot, fine-tuning) when getting ChatGPT to perform a task, and why?

AThe recommended progression is to start with a zero-shot prompt (just an instruction), then add a few examples (few-shot) if needed, and only consider fine-tuning with a large dataset if the previous methods are insufficient. This approach is efficient because it starts simple, adds context only as necessary, and reserves the resource-intensive fine-tuning for complex, specialized tasks.

QWhat is the 'Generate Anything' feature mentioned in the article, and how does it help users?

AThe 'Generate Anything' feature is a tool from OpenAI that automatically creates suitable prompts based on a user's simple description of what they want to achieve. It helps users by eliminating the need to manually design complex prompts, making it easier to accomplish tasks like photo editing or creative writing.

QWhat is the code generation-specific tip provided for getting ChatGPT to write code correctly?

AThe tip is to use 'leading words' or specific keywords at the beginning of the prompt to guide the model. For example, starting with 'import' signals the model to write Python code, and starting with 'SELECT' prompts it to write SQL. This helps the model follow the correct code structure and patterns from the outset.

你可能也喜欢

菲尔兹奖得主预警:AI可能杀死数学

今年菲尔兹奖颁发后,获奖者之一、多伦多大学教授Jacob Tsimerman宣布加入OpenAI,转行从事AI安全研究,理由是两年内AI将在所有数学证明领域超越人类。此后,陶哲轩、Timothy Gowers等菲尔兹奖得主也表达了类似忧虑,认为数学正进入一个基础价值与实践面临危机的时期。 Gowers提出了一个核心担忧:数学的危机可能并非源于停滞,而是源于AI带来的“知识过剩”。他通过思想实验指出,若AI强大到能详尽解释任何数学问题,人们可能失去深入学习数学的动力。长远看,数学文献可能空前繁荣,但能够深刻理解这些知识的人类专家将逐渐消失,导致数学成为无人能真正理解的“思维墓地”。他将此比喻为湖泊因富营养化而“死亡”——藻类(知识)疯狂增长,最终耗尽氧气(人类理解),使水体(数学学科)失去生机。 Gowers本人的态度经历了转变。他最初致力于让AI模仿人类有动机的、可解释的证明过程。但2026年,ChatGPT 5.5 Pro在几乎无提示的情况下,解决了他提出的博士级数论问题,并推进了相关界限,这深深震撼了他。随后,AI在“单位距离问题”上取得里程碑式进展,更让他彻夜难眠。他最终叹服于AI的能力,并亲自使用AI工具快速完成了自己论文的形式化工作。 与此同时,《莱顿宣言》发布并获得众多顶尖数学家联署,强调数学应是一项人类事业。但Gowers未签署,他认为需要直面更根本的问题:当AI高效产出正确证明,而人类不再追求深度理解时,数学将何去何从? 哥伦比亚大学的Peter Woit评论道,AI对“冠名权”毫无兴趣,未来定理可能不再与数学家个人紧密关联。Gowers也坦言,目睹AI轻松解决自己钟爱的问题时,感觉“像地毯被从脚下猛地抽走”。文章最终抛出一个悬而未决的疑问:在机器负责科学发现的时代,人类心智该如何自处?

marsbit1小时前

菲尔兹奖得主预警:AI可能杀死数学

marsbit1小时前

刚刚,北大校友翁荔官宣离职,AI 时代最好的「对齐」是照顾好自己

北大校友翁荔(Lilian Weng)在社交媒体上宣布,将于明天正式从她与OpenAI前CTO Mira Murati共同创立的公司Thinking Machines Lab离职。此时距离公司成立约20个月,其首个开源大模型Inkling刚刚发布。 在离职信中,翁荔反复提及“健康”问题,坦言过去7个月生病次数远超以往。在公司冲刺发布Inkling期间,她因健康原因不得不休假,并因此感到愧疚。她曾考虑调整职责以减轻压力,但发现自己无法接受无法全身心投入工作的状态。信中充满了对同事的歉意。 翁荔是AI领域知名人物,拥有北京大学和印第安纳大学背景,2018年加入OpenAI,曾参与机械手Dactyl项目,并主导组建了规模超80人的安全团队。她也是广受欢迎的技术博客“Lil'Log”的作者。2024年11月离开OpenAI后,于2025年2月共同创立Thinking Machines。 Thinking Machines自成立以来备受瞩目,曾以120亿美元高估值完成巨额种子轮融资,但随后也经历了融资谈判受阻、核心成员离职等波折。外界对其估值、产品进度和商业模式存在质疑,不过公司仍拥有雄厚的算力资源与合作协议。 翁荔的离职并未提及公司内部的具体问题,而是聚焦于个人身心健康。她表示依然热爱AI,未来希望寻找一个节奏更可控、职责更清晰的工作环境。在AI行业高速竞争、压力空前的背景下,她的选择凸显了个人身心承受力的极限。此次离开,意味着她选择在行业浪潮中暂停脚步,优先照顾好自己。

marsbit1小时前

刚刚,北大校友翁荔官宣离职,AI 时代最好的「对齐」是照顾好自己

marsbit1小时前

交易

现货

热门文章

如何购买S

欢迎来到HTX.com!我们已经让购买Sonic(S)变得简单而便捷。跟随我们的逐步指南,放心开始您的加密货币之旅。第一步:创建您的HTX账户使用您的电子邮件、手机号码注册一个免费账户在HTX上。体验无忧的注册过程并解锁所有平台功能。立即注册第二步:前往买币页面,选择您的支付方式信用卡/借记卡购买:使用您的Visa或Mastercard即时购买Sonic(S)。余额购买:使用您HTX账户余额中的资金进行无缝交易。第三方购买:探索诸如Google Pay或Apple Pay等流行支付方法以增加便利性。C2C购买:在HTX平台上直接与其他用户交易。HTX场外交易台(OTC)购买:为大量交易者提供个性化服务和竞争性汇率。第三步:存储您的Sonic(S)购买完您的Sonic(S)后,将其存储在您的HTX账户钱包中。您也可以通过区块链转账将其发送到其他地方或者用于交易其他加密货币。第四步:交易Sonic(S)在HTX的现货市场轻松交易Sonic(S)。访问您的账户,选择您的交易对,执行您的交易,并实时监控。HTX为初学者和经验丰富的交易者提供了友好的用户体验。

3.1k人学过发布于 2025.01.15更新于 2026.06.02

如何购买S

相关讨论

欢迎来到HTX社区。在这里,您可以了解最新的平台发展动态并获得专业的市场意见。以下是用户对S(S)币价的意见。

活动图片