Prompts & Temperature: The Foundation

AI Essentials for Faculty

Core Concepts

Prompt: The input text or instructions given to an AI model to guide its response or behavior. The quality and specificity of your prompt directly affects the quality of the AI's output.

Temperature: A parameter that controls randomness in text generation. Lower values (0.0-0.3) make output focused and deterministic—the model will choose the most probable next words, resulting in consistent, predictable responses. Higher values (0.7-1.0) increase creativity and variability—the model considers less probable options, producing more diverse and surprising outputs.

Important Note: In most AI chat interfaces like ChatGPT and Copilot, you don't directly control temperature—it's preset by the system. However, you can influence how the model behaves through your prompts. The model adjusts its randomness based on what you're asking for.

15 min Core Concepts ChatGPT Copilot
ChatGPT Microsoft Copilot

Exercise: Observe Temperature Effects in Real Tools

  1. Test with a factual prompt (lower temperature behavior)

    Start with a prompt that requests factual, straightforward information:

    Explain quantum entanglement to an undergraduate physics student in 3 sentences.

    Click "regenerate" 3 times and observe: The core facts stay the same, but phrasing varies slightly. This is low-temperature behavior—consistent information with minor stylistic changes.

  2. Test with a creative prompt (higher temperature behavior)
    Write a creative opening line for a research paper about climate change impacts on migration patterns.

    Regenerate this 3 times and observe: You get very different opening lines—some formal, some dramatic, completely different framing.

  3. Experiment with prompt phrasing to influence temperature

    Try these variations and notice how outputs differ:

    Provide the standard definition of machine learning.

    vs.

    Brainstorm 5 creative ways to explain machine learning to a 10-year-old.

    The first prompt triggers lower temperature behavior. The second triggers higher temperature behavior.

  4. Advanced: Test with ambiguous prompts
    Write an introduction for a paper on social media's effects.

    Regenerate several times. Because this prompt is ambiguous, you'll see high variation.

How to Take Advantage of Temperature Variation

When You Want Consistency (Low Temperature Behavior)

  • Request "standard," "technical," "precise," or "accurate" information
  • Ask for definitions, explanations, or step-by-step procedures
  • Be very specific about what you want

Best for: Technical documentation, grading rubrics, factual summaries, instructional content

When You Want Variety (High Temperature Behavior)

  • Request "creative," "brainstorm," "innovative," or "multiple options"
  • Ask for alternatives, variations, or diverse perspectives
  • Use words like "imagine," "explore," "generate ideas"

Best for: Brainstorming, generating multiple versions, creative writing, exploring possibilities

Understanding Prompt Quality

Click each card to compare:

Vague Prompts

"Tell me about AI"

Click to see details →

Vague Prompts

  • Result: Generic, surface-level responses
  • Problem: AI doesn't know your context, audience, or purpose
  • Use when: You're just exploring and want a broad overview

Specific Prompts

"Explain transformers in NLP for grad students"

Click to see details →

Specific Prompts

  • Result: Targeted, appropriate-level responses
  • Benefit: AI tailors content to your needs
  • Use when: You need precise, actionable information

Click the cards above to flip them and see more details

Reflection Questions

Key Takeaways

Mark as Complete

Have you finished this activity?

✓ Activity completed! Great work. Your progress has been saved.