1. Home
  2. Artificial Intelligence
  3. Generative AI
  4. What is the "temperature" parameter in LLM APIs?

Added 11 Nov 2026

What is the "temperature" parameter in LLM APIs?

  1. Output length
  2. Randomness of output Correct answer
  3. Number of tokens
  4. Model size

Correct answer

B. Randomness of output

12 views

MCQSEXAM

Explanation

Temperature controls randomness: 0 = deterministic, higher = more random. Source: GitHub (KaggleGeminiPromptEngineering), Q2.

Reference

Asked in: General

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Generative AI MCQs

Practise all Generative AI MCQs

Similar MCQs