1. Учиться
  2. /
  3. Courses
  4. /
  5. Introduction to Claude Models

Connected

Exercise

Controlling creativity with temperature

You’re the product lead at Luna Gear, launching the eco-friendly TerraPack backpack. The team needs A/B captions for a test: one polished and informative, one playful and hype-driven.

The anthropic library, client and product_info string are preloaded.

Инструкции

100 XP
  • Set a low temperature value for consistent, professional output (0.1-0.3).
  • Set a high temperature value for creative, varied output (0.7-0.9).
  • Print the conservative and creative response contents.