This example compares temperatures 0 and 1 with GPT-6 Luna. Both providers set reasoning effort to none, which enables temperature sampling.
You can run this example with:
npx promptfoo@latest init --example compare-gpt-temperature
cd compare-gpt-temperatureSet OPENAI_API_KEY, then run:
npx promptfoo@latest eval --no-cacheAfterwards, you can view the results by running npx promptfoo@latest view