Method: Anthropic::Models::Beta::MessageCreateParams#temperature
- Defined in:
- lib/anthropic/models/beta/message_create_params.rb
#temperature ⇒ Float?
Amount of randomness injected into the response.
Defaults to 1.0. Ranges from 0.0 to 1.0. Use temperature closer to 0.0
for analytical / multiple choice, and closer to 1.0 for creative and
generative tasks.
Note that even with temperature of 0.0, the results will not be fully
deterministic.
215 |
# File 'lib/anthropic/models/beta/message_create_params.rb', line 215 optional :temperature, Float |