Back to Glossary

What is One-Shot?

Technique Glossary term: One-Shot
Short Answer

A prompting technique that provides a single example to guide the AI.

One-shot prompting provides a single example to demonstrate the desired output format, style, or approach. This technique helps the AI understand what you're looking for with minimal guidance.

Benefits of one-shot prompting:

  • Clear guidance: Single example establishes expectations
  • Efficiency: Minimal prompt overhead
  • Consistency: Helps maintain output consistency
  • Learning: AI learns from the example pattern
  • Flexibility: Allows for creative variations

💡 Examples

Email Format

Providing one email example to guide format and style.

Write a professional email like this: "Dear [Name], I hope this email finds you well..." Now write a similar email about scheduling a meeting.
The AI would follow the format and style of the example email.

✅ Best Practices

  • Use clear, representative examples
  • Ensure examples match your requirements
  • Keep examples concise but complete
  • Use consistent formatting
  • Test with different scenarios

🎯 Use Cases

  • Format specification
  • Style guidance
  • Process demonstration
  • Quality standards
  • Consistency maintenance