Prompt Engineering
Also written: Prompting, Prompt design
Designing and refining input prompts to guide AI models toward desired outputs.
Prompt engineering is about learning how to talk to AI models. It means giving them clear, specific instructions so they can give you the best possible answers or create the content you want.
Think of it like asking a very smart assistant for help. If you ask a vague question, you might get a vague answer. But if you are precise and give details, you'll get a much better result. For example, instead of asking an AI to 'write about dogs,' you could ask it to 'write a 500-word blog post about the benefits of adopting senior dogs, aimed at first-time dog owners.'
Prompt engineering involves the iterative design, refinement, and optimization of input prompts to steer generative AI models toward producing specific, accurate, and relevant outputs. This process requires understanding the model's capabilities and limitations, and often involves techniques like few-shot learning, chain-of-thought prompting, and careful instruction formatting.
The effectiveness of prompt engineering can significantly impact model performance, influencing factors such as response quality, factual accuracy, and adherence to desired stylistic constraints. Tradeoffs exist between prompt complexity and the computational resources required for inference, as well as the potential for prompt injection vulnerabilities.
Prompt engineering is a key focus as companies like OpenAI and Anthropic release best practices and courses. The goal is to help users and businesses get more accurate and useful responses from AI models. This refinement process is crucial for practical applications, from marketing to business operations.
- Prompt engineering best practices for ChatGPTOpenAI · OpenAI Help Center ·
- How do I create a good prompt for an AI model?OpenAI · OpenAI Help Center ·
- ChatGPT for small businesses - Irving, TX - EventOpenAI · OpenAI Academy ·
- Accenture, AWS, and Anthropic collaborationAnthropic · Anthropic News ·
- Anthropic Courses (GitHub): Update 01_prompting_recap.ipynb -fixed broken linkAnthropic · Anthropic Courses (GitHub) ·
- AI powers Expedia’s marketing evolutionOpenAI · OpenAI News ·
- Prompt engineering for business performanceAnthropic · Anthropic News ·
- Anthropic Courses (GitHub): update promptfoo introAnthropic · Anthropic Courses (GitHub) ·
- Partnering with Scale to Bring Generative AI to EnterprisesAnthropic · Anthropic News ·
- Evaluating and Mitigating Discrimination in Language Model DecisionsAnthropic · Anthropic Research ·
- GPT-3.5 Turbo fine-tuning and API updatesOpenAI · OpenAI News ·
- Customizing GPT-3 for your applicationOpenAI · OpenAI News ·
- Anthropic Claude
- Anthropic offers GitHub courses on prompt engineering and shares tips for improving Claude's business performance.
- OpenAI ChatGPT
- OpenAI provides best practices for prompt engineering with ChatGPT and hosts workshops on its practical use.
- Fine-tuning
- Fine-tuning retrains a model on new data, while prompt engineering
- AI Training
- AI training involves teaching a model from scratch or with large da
- Natural Language Processing
- NLP is a broader field of AI focused on language un
The term emerged from the AI research community as large language models became more capable and sensitive to input phrasing. Early work focused on understanding how different prompt structures affected model outputs.
Open ChatGPT or Claude and ask it to write a short story about a robot who discovers music. Then, try again, but this time ask it to write the same story but from the perspective of a cat who is annoyed by the robot's music. Notice how the specific instructions change the output.
The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.
- Troubleshooting fixDecrease LM discrimination via careful prompt engineeringUse prompt engineering to significantly decrease positive and negative discrimination in LM outputs. · 20 min
- ChecklistEnterprise AI application deployment considerationsKey factors for deploying generative AI applications in an enterprise setting. · 5 min
- Prompt patternRefining ideas with iterative promptingUse a series of prompts to brainstorm, develop, and refine ideas with an AI tool. · 15 min
- HeuristicCombine fine-tuning with other techniquesMaximize fine-tuning effectiveness by integrating it with prompt engineering, retrieval, and function calling. · 10 min
- PromptRole-play a student struggling with math for AI tutor simulationSimulate a student's math struggles and uncertainty for AI tutor evaluation. · 5 min
Questions people ask
- What makes a prompt 'good'?
- A good prompt is clear, specific, and provides enough context for the AI to understand your request and generate a relevant response.
- Do I need to be a programmer to do prompt engineering?
- While advanced prompt engineering can involve technical skills, basic prompt engineering is accessible to anyone who can write clear instructions.
First seen on Subvolts Dec 14, 2021. Updated Oct 19, 2026. Written by an AI model from the items above and reviewed against them weekly; report an error.

