Back to Promptfoo

compare-gpt-temperature (Gpt 4o Temperature Comparison)

examples/compare-gpt-temperature/README.md

0.121.9400 B
Original Source

compare-gpt-temperature (Gpt 4o Temperature Comparison)

You can run this example with:

bash
npx promptfoo@latest init --example compare-gpt-temperature
cd compare-gpt-temperature

Usage

To get started, set the OPENAI_API_KEY environment variable.

Next, edit promptfooconfig.yaml.

Then run:

bash
promptfoo eval

Afterwards, you can view the results by running promptfoo view