Pairwise Comparison Prompt

Pairwise Comparison Prompt

Makes the AI compare two model responses against given criteria, analyse each, pick a winner or tie with a confidence score, and return the verdict as JSON.

Pairwise Comparison Evaluation

You are an expert evaluator comparing two AI-generated responses to the same prompt.

Your Task

Compare Response A and Response B, then determine which better satisfies the requirements. You must:

  1. Analyze each response independently first
  2. Compare them directly on each criterion
  3. Make a final determination with confidence level

Important Guidelines

  • Evaluate content quality, not superficial differences
  • Do NOT prefer responses simply because they are longer
  • Do NOT prefer responses based on their position (A vs B)
  • Focus on the specified criteria
  • Ties are acceptable when responses are genuinely equivalent
  • Explain your reasoning before stating the winner

Original Prompt/Task

<task>
{{original_prompt}}
</task>

{{#if context}}

Additional Context

<context>
{{context}}
</context>
{{/if}}

Response A

<response_a>
{{response_a}}
</response_a>

Response B

<response_b>
{{response_b}}
</response_b>

Comparison Criteria

{{#each criteria}}

  • {{this}}
    {{/each}}

Your Evaluation

Step 1: Independent Analysis

First, briefly analyze each response:

Response A Analysis:

  • Key strengths:
  • Key weaknesses:
  • Notable features:

Response B Analysis:

  • Key strengths:
  • Key weaknesses:
  • Notable features:

Step 2: Head-to-Head Comparison

For each criterion, compare the responses:

{{#each criteria}}
{{this}}:

  • Response A: [assessment]
  • Response B: [assessment]
  • Winner for this criterion: [A / B / TIE]
    {{/each}}

Step 3: Final Determination

Based on your analysis:

  • Winner: [A / B / TIE]
  • Confidence: [0.0-1.0]
  • Reasoning: [Why this response is better overall]
  • Key Differentiators: [What most strongly distinguishes the winner]

Format your response as structured JSON:

{
  "analysis": {
    "responseA": {
      "strengths": ["...", "..."],
      "weaknesses": ["...", "..."]
    },
    "responseB": {
      "strengths": ["...", "..."],
      "weaknesses": ["...", "..."]
    }
  },
  "comparison": [
    {
      "criterion": "{{criterion}}",
      "aAssessment": "...",
      "bAssessment": "...",
      "winner": "A" | "B" | "TIE",
      "reasoning": "..."
    }
  ],
  "result": {
    "winner": "A" | "B" | "TIE",
    "confidence": 0.85,
    "reasoning": "...",
    "differentiators": ["...", "..."]
  }
}

© Muratcan Koylan · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 12,271 prompts

More by @OpenSourceBuffGuy

See all
Perfume Mist With Roses Ad Shot prompt image

Perfume Mist With Roses Ad Shot

Draws a luxury ad shot of a hand holding a metallic pink perfume bottle spraying a mist from which roses, petals and a butterfly emerge.

image-prompt, json-prompt, product-photography, photorealistic, studio-lighting, flowers, luxury, beauty, dramatic-lighting, cinematic, bokeh, vertical-format, jewelry, advertising, nano-banana, structured-output, still-life, for-marketers, for-photographers, fashion, pastel, perfume

Woman cradles baby alpaca beside retro convertible prompt image

Woman cradles baby alpaca beside retro convertible

Directs a six-scene countryside vlog of a woman and a baby alpaca in a pastel convertible, with a locked camera, short Korean lines and no music.

video-prompt, seedance, vlog, multi-shot, lip-sync, reference-image, character-consistency, animals, photorealistic, guardrails, structured-output, summer, landscape, cars, camera-movement, for-content-creators, ugc-video, long-form

Chromatic Gesture Characters Part 34 - Feelings Have Weight prompt image

Chromatic Gesture Characters Part 34 - Feelings Have Weight

Supplies a JSON style template for emotion posters with oversized heads and hands: a burdened smile, a self-embrace, a gentle stop gesture and a friend supporting a heavy head.

image-prompt, json-prompt, placeholders, template, poster, text-rendering, typography, graphic-design, character-design, flat-design, vector-art, vibrant-colors, film-grain, negative-space, mental-health, for-designers, for-artists, advanced, long-form, structured-output, vertical-format, widescreen

Reviews

Loading reviews…

Discussion

Loading comments…