SEARCH & QUALITY / YES / NO

AI Response Validation and Instruction Checks

Use Jev Yes / No to check whether an AI response follows a stated instruction. Try passing and failing examples before designing a validation gate.

By AIJev Editorial · Reviewed September 18, 2026 · Interactive walkthrough

The scenario

An assistant produces a response, but a downstream interface expects it to follow a specific instruction. A focused check can flag a mismatch before delivery. The example starts with a one-sentence rule; production checks may concern whether the response answers a requested topic or avoids unsupported commitments.

Define the decision boundary

Check one explicit condition at a time. Use ordinary code for exact lengths, required fields, or JSON schemas. A model-based instruction check does not establish truthfulness or replace content-specific review.

From input to next step

  1. Keep the original instruction beside the candidate response.
  2. Ask whether that response satisfies the specified condition.
  3. Accept, revise, or review according to a policy tested on both passing and failing examples.

Try it. Then change one thing.

Compare the original scenario with a deliberate variation. You can edit either input, run Jev, inspect the result, and share your decision card. Loading an example does not send a model request.

What to look for: Yes is plausible for the original single-sentence answer. The playground displays Yes at a returned probability of at least 0.5; that display convention is not a production approval recommendation.

Start with the original input, then compare the variation. Run each scenario to see the real model response. Switching scenarios resets the form and result.

⌘ Playground v1.13
typesafe/jev-1.13↗
01 / INPUT
121 / 20,000
◐
A small question. A clear decision.

Jev returns a probability between 0 and 1. We show Yes at 0.5 or above.

50 free / IP decisions per day↻ --:--:--
02 / OUTPUT
⑂

A little context.
A clear decision.

Give Jev a state and a question.
Your decision, probabilities, and insights
will appear right here.

Ready when you are
START WITH AN EXAMPLE
FROM PLAYGROUND TO PRODUCTION

Take the pattern to
your next build.

Inspect the request shape.
Build with Jev through its official docs.

Visit Jev official docs ↗
AIJEV PLAYGROUND REQUEST SHAPE.
{
  "playground": "https://aijev.net",
  "language": "JavaScript",
  "request": {
    "model": "typesafe/jev-1.13",
    "state": "Instruction: Answer in one sentence.\nResponse: You can reset your password from the Security section in account settings.",
    "questions": {
      "decision": {
        "type": "noul",
        "instructions": "Does the response follow the instruction?"
      }
    },
    "provider": {
      "allow_fallbacks": false
    }
  },
  "note": "AIJev Playground request shape only. For application integration, visit https://docs.typesafe.ai."
}
AIJev Playground only Not a public integration API

Experiment: add an obvious instruction mismatch

The content is useful, but its three sentences violate the requested format. Keep correctness and instruction-following as separate judgments.

Use the second scenario tab above to load this variation. Compare the returned decision as well as any probabilities: a changed answer can reveal an unclear policy, and an unchanged answer can reveal that the relevant detail was not captured by your question.

Use this pattern in your application

This playground request shape uses the original scenario. It is a reference for the input, not a public integration endpoint. For application integration, follow the official TypeSafe documentation linked in our Jev API guide. Keep API keys on the server and validate the returned type before taking action.

{
  "playground": "https://aijev.net",
  "language": "JavaScript",
  "request": {
    "model": "typesafe/jev-1.13",
    "state": "Instruction: Answer in one sentence.\nResponse: You can reset your password from the Security section in account settings.",
    "questions": {
      "decision": {
        "type": "noul",
        "instructions": "Does the response follow the instruction?"
      }
    },
    "provider": {
      "allow_fallbacks": false
    }
  },
  "note": "AIJev Playground request shape only. For application integration, visit https://docs.typesafe.ai."
}

How to evaluate this workflow

Collect valid answers that should pass and subtle violations that should fail. Measure false acceptance and false rejection separately. Compare with deterministic validation before deciding that another model call is worth its latency.

Save a held-out set before changing your instructions. Compare new versions against the same examples, and review disagreements instead of assuming a valid response is a correct one. For escalation design, see confidence-based routing.

Frequently asked questions

Is Yes / No a guarantee that the answer is safe to send?+

No. It concerns only the condition you asked about. An answer can satisfy a format instruction while containing incorrect information.

Are these results from a real customer deployment?+

No. These are original educational scenarios. The expected outcomes are editorial hypotheses; clicking Run Jev sends the displayed input to the model and shows its actual response.

Can I adapt this example to my own workflow?+

Yes. Replace the context, define your choices or rubric, and test against examples from your domain. The playground uses text input. Do not include credentials or unnecessary personal information.

References & further reading

Background on routing and evaluation workflows. Our requests and experiments below are original educational examples, not customer deployments. See Anthropic: Building effective agents.

For the underlying decision primitives, read TypeSafe’s System One documentation and our guide to Choice, Score, and Noul.