Skip to main content

Set the creativity level

Control the AI model's creativity using temperature and top-p parameters. These parameters work together to influence the model's output:

ParameterDescriptionHow to use
TemperatureControls randomness in the output• Possible values: 0-1
• Keep at 1 if adjusting Top P
• Lower for factual, higher for creative
Top PControls diversity of word choices• Possible values: 0-1
• Keep at 1 for most use cases
• Only lower if Temperature is 1
Prerequisites
You have opened a Google document and selected Extensions > GPT for Sheets and Docs > Launch.
  1. In the GPT for Docs sidebar, click Model settings.

    The field indicates the current creativity level of your model.
  2. Set Temperature from 0 to 1. You can refer to the following:

    • 0: precise, the model strictly follows the prompt
    • 0.5: neutral, the model is slightly creative
    • 1: creative, the model is very creative
  3. (Optional) Set Top P from 0 for a focused output to 1 for most creativity.

    The default level is set to 1 by default.

You've set the creativity level. GPT for Docs now uses the new Temperature and Top P values for generating all responses.

What's next

Select other settings to customize how the language model operates.