Prompt Evaluation Limited info

Judge a Submission Against a Criterion With Step-by-Step Reasoning

Gives a grader model a task, a submission and a criterion, asks it to reason step by step first, then output a single Y or N on its own line and repeat it.

  • 🤖 Any chat LLM
  • 🗂️ Evaluation

Prompt by OpenAI (openai/evals) · Original source (opens in a new tab)

Judge a Submission Against a Criterion With Step-by-Step Reasoning — prompt preview

The prompt

prompt
You are assessing a submitted answer on a given task based on a criterion. Here is the data:
[BEGIN DATA]
***
[Task]: {input}
***
[Submission]: {completion}
***
[Criterion]: {criteria}
***
[END DATA]
Does the submission meet the criterion? First, write out in a step by step manner your reasoning about the criterion to be sure that your conclusion is correct. Avoid simply stating the correct answers at the outset. Then print only the single character "Y" or "N" (without quotes or punctuation) on its own line corresponding to the correct answer. At the end, repeat just the letter again by itself on a new line.

Reasoning:

What it is

Gives a grader model a task, a submission and a criterion, asks it to reason step by step first, then output a single Y or N on its own line and repeat it. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the OpenAI Evals repository (MIT licence, Copyright (c) 2023 OpenAI). Licence: https://github.com/openai/evals/blob/main/LICENSE.md. Original author: OpenAI (openai/evals). Changes by FoxaMind: none; the text is copied from the source file.

Who it's for

  • Developers building evals
  • Teams grading model answers

يعطي النموذج المُقيِّم مهمة وإجابة ومعيارًا، ويطلب منه التفكير خطوة بخطوة أولًا ثم كتابة Y أو N في سطر مستقل وتكرارها في النهاية.

Tips

  • Fill {input} (the task), {completion} (the submission) and {criteria} (what a good answer must do).
  • The prompt ends with the word "Reasoning:" so the model starts by writing its reasoning.
  • The Y or N is repeated on a last line so a script can read it from the end of the reply.