0

config-retry-testing (Retry Testing)

You can run this example with:

Example · مثال

Content

config-retry-testing (Retry Testing)

You can run this example with:

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.

Source and license

Source
Promptfoo
Original
promptfoo/promptfoo/examples/config-retry-testing
License
MIT