Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-3-5-sonnet-20241022· AnthropicHugging Face LMArena Human Preference 140K

What is prompt engineering?

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-sonnet-4-20250514-thinking-32k’s answer.
  1. User

    What is prompt engineering?

  2. Claude Assistant

    Prompt engineering is the practice of crafting effective inputs or instructions to get the best possible outputs from AI language models. It's like learning how to ask questions or give instructions in a way that helps the AI understand exactly what you want.

    Some key prompt engineering techniques include:

    • Being specific and detailed in your request
    • Breaking complex tasks into smaller steps
    • Using examples to demonstrate the desired output format
    • Providing context and relevant background information
    • Specifying constraints or requirements clearly
    • Using role-play scenarios when appropriate

    For instance, instead of asking "Write about dogs," a well-engineered prompt might be "Write a 300-word explanation of how different dog breeds were historically developed for specific working purposes, focusing on three examples."

    Would you like me to elaborate on any particular aspect of prompt engineering?

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.