Web chat default temperature for GPT 3.5 and 4

import openai
openai.ChatCompletion.create(
  model="gpt-3.5-turbo",
  messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "How do I change the temperature setting?"},
        {"role": "assistant", "content": "To change the temperature setting, you can include the 'temperature' parameter in your API request. **The default value is 0.8**."},
        {"role": "assistant", "content": "For example, you can set the temperature to 0.5 to get less random output."},
  ],
  temperature=0.5,
)

I pretty sure its 0.8 default for web chat.openai. I found it through api call script

1 Like