productinterview.tools
MenuClose

Why Does the Same Prompt Give Different Answers?

The interviewer asksA customer complains that asking the assistant the same question twice gives different answers. Why does that happen, and should we fix it?

Forward Deployed EngineerApplied AI PMFoundationsTechnical roundRepresentative5 min

On this page
  1. The 30-second version
  2. What it's really testing
  3. How to structure your answer
  4. The interview, played out
  5. The strong answer, distilled
  6. How it's scored
  7. How the answer changes by role
  8. Common mistakes
  9. More follow-ups to practise
  10. Go deeper
  11. Sources

The 30-second version

  1. The model picks each word from probabilities; sampling adds controlled randomness.
  2. Temperature sets how much: low is focused and repeatable, high is varied.
  3. Even at low temperature, outputs can differ slightly between runs.
  4. Whether to "fix" it depends on the task: facts and extraction need consistency; drafting benefits from variety.
  5. For consistency: low temperature, structured output, grounding in sources, and evals that re-run examples.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Understanding sampling
  • Explaining it to a customer
  • Matching settings to the task

How to structure your answer

  1. Explain why outputs vary.
  2. Ask what the customer is using it for.
  3. Recommend settings and design for that task.
  4. Say how you'd check it.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong moveMissed signalRevealed when asked
  1. Interviewer
    A customer complains that asking the assistant the same question twice gives different answers. Why does that happen, and should we fix it?
  2. Candidate
    The model writes one word at a time, choosing from a list of likely next words. A setting called temperature adds some randomness to that choice, so two runs can take slightly different paths.
  3. Candidate
    Whether that's a problem depends on the question. What were they asking?
  4. Revealed when asked
    Questions about their contract terms. Two answers gave different notice periods.
  5. Strong move
    Asks about the task before deciding it's a bug.
  6. Candidate
    Then it is a problem: facts should be the same every time. I'd lower the temperature and, more importantly, make the answer quote the contract clause it comes from, so it's grounded in the document rather than generated freely.
  7. Interviewer
    So temperature 0 solves it?
  8. Candidate
    Mostly, yes.
  9. Missed signal
    Temperature 0 reduces variation but doesn't guarantee identical outputs; grounding matters more.
  10. Candidate
    I'd also add an eval that asks each contract question several times and checks the answers agree with the clause.

The strong answer, distilled

  • Why: words are sampled from probabilities; temperature controls how much randomness.
  • Depends on the task: facts must be consistent; drafting can vary.
  • For facts: low temperature, answers quoted from the source document, structured output.
  • Honest caveat: low temperature reduces but doesn't remove variation; grounding is the real fix.
  • Check: an eval that repeats each question and compares answers against the source.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Mechanism "It's random" Temperature named Sampling explained simply
Judgment Always fix it Fix it for facts Matches consistency to the task
Fix Temperature 0 Temperature plus prompt Grounding, low temperature and a repeat-run eval

Round scorecard: Applied AI PM: technical round, filled in for the mock candidate

DimensionWeakPassableStrongThe mock candidate
AccuracyExplains the mechanism wrongly.Correct in outline.Correct, and precise about what the model does and doesn't do.Strong. Correct on sampling and temperature.
ClarityJargon, or no structure.Clear to a technical listener.Clear to anyone, with a concrete example.Strong. Clear for a non-technical customer.
DepthSurface only.Answers follow-ups.Goes a level deeper unprompted where it matters.Passable. Forgot that even temperature 0 can vary.
Product judgmentStops at the explanation.Mentions fixes.Turns the explanation into product and engineering choices.Strong. Separated tasks needing consistency from those that benefit from variety.

How the answer changes by role

Role What to emphasise
Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation Explaining to the customer and grounding answers in their documents
Applied AI PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation Which product surfaces need consistency and how to measure it

Common mistakes

  • Promising identical outputs at temperature 0
  • Treating all variation as a bug
  • Fixing settings without grounding

More follow-ups to practise

  • "The customer wants creative marketing copy to vary. Same settings?" Hint: no: higher temperature, and that's fine.
  • "How would you test consistency?" Hint: re-run each question several times and compare.

Go deeper

Sources

Representative question: written to match technical rounds for AI product roles, not a specific reported interview.