Temperature

You might say

Why does AI answer the same question differently every time?

A parameter controlling how random the answer is: lower values are steadier, higher values more variedGetting different formats from the exact same prompt usually means the temperature is set too high. Keep it low for strict JSON schemas, code generation, or stable classifications, and raise it for creative brainstorming; it adjusts sampling randomness rather than making the model smarter.
Know first
Temperature
Further reading