platform-guideline 5 linked patterns checked

OpenAI prompt engineering guide

Documents prompt engineering as writing effective instructions for models, with guidance on goals, context, examples, structured outputs, constraints, and iterative refinement for non-deterministic model behavior.

Read with a purpose

What this source can teach

Use this source to understand a platform convention and the setting it was designed for.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Agent plan preview Choose agent plan preview when an AI agent's proposed multi-step execution needs review before it starts. The preview names the objective, plan version, source context, model or workflow instructions, planned tools, and expected output before run. Supports goals, context, constraints, structured outputs, and iterative refinement for model behavior.
Editable AI output Choose editable AI output when the primary object is generated output after creation and users need to revise, review, save, copy, or apply that output. The generated draft, user edits, tracked changes, source mappings, citations, review status, and final output state are modeled as distinct data rather than one mutable text blob. Supports distinguishing prompt revision before generation from output editing after generation.
Prompt box Choose prompt box when the central user action is composing and submitting an AI request. The prompt box always exposes the user's editable draft before submission. Supports explicit instructions, context, constraints, structured response expectations, and iteration.
Regenerate / retry Choose regenerate / retry when the task is rerunning an AI response attempt, creating a new answer version, continuing a failed generation, or recovering from failed AI source or tool work. Retry same prompt repeats the submitted prompt and visible context unless the UI explicitly shows which context changed. Supports distinguishing edited-prompt iteration from regenerating the same submitted prompt.
Scope clarification Choose scope clarification when the AI needs a missing boundary before producing a reliable answer, plan, retrieval query, or tool action. The system identifies what boundary is missing before asking the user to clarify. Supports explicit goals, context, constraints, and iterative refinement when instructions are incomplete.

Comparisons supported by this source

Evidence Role

This source is treated as platform-guideline evidence. Its value comes from the specific claims and setting described above.

Publisher: OpenAI. Last checked: .

Saved items