OpenAI Updates Prompt Engineering Guide

量子位 · wechat · 2026-07-16

This article organizes OpenAI's latest prompt engineering best practices, aiming to make ChatGPT outputs more stable and accurate. The author distills official docs into actionable methods rather than generic chat tips. Key recommendations include: placing core instructions at the beginning; using delimiters like `##` or `"""` to separate instructions from text; providing examples for desired formats and styles; starting with zero-shot before adding few-shot examples; minimizing vague adjectives by clearly stating what to do and how; and using priming words like `import` or `SELECT` for code generation. The article also mentions OpenAI's "GenerateAnything" feature, where users simply describe a goal and the model auto-generates an optimized prompt, further lowering the barrier to prompt design.

Related event: OpenAI's Latest Prompt Guide Emphasizes Clarity Over Length(2 posts)→

Original post →

More from Apps

Apps channel →