Skip to content

Improve temperature guidance with concrete examples #8

@EmZod

Description

@EmZod

Problem

Documentation says temperature controls "randomness/creativity" with ranges like "0.7-1.0 = more varied, expressive" but provides no concrete guidance on what values to use for different content types.

Perspective: As an AI agent choosing parameters for users, I need to map content type (academic paper, creative story, casual conversation) to temperature values. Current guidance is too vague to make confident choices.

Current Documentation

From SKILL.md:

Temperature
| Temperature | Effect |
| 0.0-0.3 | Very consistent, robotic |
| 0.4-0.6 | Balanced (recommended) |
| 0.7-1.0 | More varied, expressive |

Questions I cannot answer:

  • Academic paper: 0.5 or 0.6 or 0.7?
  • Creative audiobook: 0.7 or 0.8 or 0.9?
  • Technical documentation: 0.3 or 0.5?
  • Casual blog post: ???

Proposed Enhancement

Add content-type guidance table:

## Temperature by Content Type

| Content Type | Recommended Temp | Why |
|--------------|------------------|-----|
| Academic papers, research | 0.5-0.6 | Clear, consistent, but not robotic |
| Technical documentation | 0.4-0.5 | Precise, minimal variation |
| News articles | 0.5-0.6 | Professional, balanced |
| Blog posts, casual writing | 0.6-0.7 | Conversational, natural |
| Creative fiction, audiobooks | 0.7-0.8 | Expressive, emotional range |
| Poetry, dramatic readings | 0.8-1.0 | Maximum expressiveness |
| Formal announcements | 0.3-0.4 | Authoritative, consistent |

### Examples

Academic paper:
  speak research.md --temp 0.5 --play
  # Clear articulation, consistent pacing, not monotone

Creative audiobook:
  speak novel.txt --temp 0.8 --stream --play  
  # Varied pacing, emotional inflection, character distinction

Technical docs:
  speak api-reference.md --temp 0.4 --play
  # Precise, minimal variation, easy to follow

Agent Use Case (Real Example)

User requested: "Convert this academic text about Language Models to speech"

My decision process:

  1. Content type: Academic/technical
  2. Current guidance: "0.4-0.6 is balanced"
  3. Choice: 0.7 (split the difference toward expressive?)
  4. Uncertainty: Is this right?

With better guidance:

  1. Content type: Academic paper
  2. Table says: 0.5-0.6 ("Clear, consistent, but not robotic")
  3. Choice: 0.5 (confident)
  4. Certainty: Optimal for this use case

Impact

  • Medium priority
  • Reduces guesswork for parameter selection
  • Improves first-run success rate
  • Helps agents make appropriate choices

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions