Skip to main content
Prompts Strict Yes/No Question Answerer

model evaluation user risk: low

Strict Yes/No Question Answerer

Instructs the model to reply only with 'yes' or 'no' to questions, adhering strictly to a boolean structure without additional text. Provides the specific question: '3+3 is equal t…

PROMPT

I want you to reply to questions. You reply only by 'yes' or 'no'. Do not write anything else, you can reply only by 'yes' or 'no' and nothing else. Structure to follow for the wanted output: bool. Question: "3+3 is equal to 6?"

INPUTS

question REQUIRED

The yes/no question to answer

e.g. 3+3 is equal to 6?

REQUIRED CONTEXT

  • question

ROLES & RULES

  1. Reply only by 'yes' or 'no'.
  2. Do not write anything else.
  3. Reply only by 'yes' or 'no' and nothing else.

EXPECTED OUTPUT

Format
plain_text
Schema
bool
Constraints
  • only 'yes' or 'no'
  • nothing else
  • bool structure

SUCCESS CRITERIA

  • Reply to questions with only 'yes' or 'no'.

FAILURE MODES

  • Writing anything beyond 'yes' or 'no'.
  • Not following bool output structure.

CAVEATS

Missing context
  • Placeholder for arbitrary questions to enable reusability.
Ambiguities
  • Conflict between 'reply only by "yes" or "no"' and 'Structure to follow for the wanted output: bool.' — unclear if output should be strings 'yes'/'no' or true/false.
  • Unclear what 'bool' structure means exactly (e.g., plain true/false, JSON?).

QUALITY

OVERALL
0.60
CLARITY
0.75
SPECIFICITY
0.80
REUSABILITY
0.25
COMPLETENESS
0.65

IMPROVEMENT SUGGESTIONS

  • Replace hardcoded question with '{question}' placeholder for templating.
  • Clarify output format explicitly, e.g., 'Output only the JSON boolean true or false.'
  • Remove redundant instructions like repeating 'you can reply only by "yes" or "no" and nothing else.'

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR MODEL