Prompt engineering (OpenAI API docs)
by OpenAI
OpenAI's official baseline on message roles, instructions and examples.
This documentation explains how to organize instructions and examples when using OpenAI models. It provides a starting reference for separating the task from the material the model should process.
- Level
- Beginner
- Models
- gpt
- Category
- Prompting
- Tags
- official-guide
- Source date
- date not stated
- Added
- 2026-10-18
- Last verified
- 2026-10-18
- Status
- ok
Summary in our own words. All rights with the original creator. Correction or removal: DM on X.