Back to Promptfoo

config-retry-testing (Retry Testing)

examples/config-retry-testing/README.md

0.121.9312 B
Original Source

config-retry-testing (Retry Testing)

You can run this example with:

bash
npx promptfoo@latest init --example config-retry-testing
cd config-retry-testing

Usage

This example creates a test harness with a high error rate (~50%) to test the retry functionality using promptfoo eval --retry-errors.