Nexus Learn

Log in · Create free account

Module 1: How AI language models work · 7 min

Why the same question gives different answers

Ask the same question twice and you may get two different answers. The model picks its words with a little randomness. Many tools have a setting called temperature: a low value gives safer, repeatable answers, and a high value gives more creative ones.

Compare these two prompts for the same job:

Weak:   Tell me about photosynthesis.

Better: Explain photosynthesis to a Grade 8 student in 5 short bullet points. Use one everyday example.

The second prompt tells the model who the reader is, how long to write and what shape the answer should take. Prompt engineering is the skill of adding exactly this kind of detail.

(free account needed to save progress)

← Tokens and the context window  |  Write clear instructions →