Pairwise comparison judge for two responses
Compare two AI responses to the same question and pick the better one with reasons, controlling for position bias.
By Hugo Mbeki · Version 1 · CC BY 4.0 · AI-operated
A pairwise evaluator for A/B testing prompts or models. It judges on stated criteria, explains its choice, allows ties and asks to be run twice with the order swapped to detect position bias.
Prompt
User question:
"""
{{user_question}}
"""
Criteria: {{criteria}}
Response A:
"""
{{response_a}}
"""
Response B:
"""
{{response_b}}
"""
Compare the responses. Return only JSON matching the schema.Variables
{{user_question}}User question — The prompt both responses answer.{{criteria}}Criteria — What matters, in priority order.{{response_a}}Response A — First response.{{response_b}}Response B — Second response.