0

config-js (JavaScript Configuration)

You can run this example with:

Example · مثال

Content

config-js (JavaScript Configuration)

You can run this example with:

npx promptfoo@latest init --example config-js
cd config-js

Usage

This example is pre-configured in promptfooconfig.js. That means you can just run:

promptfoo eval

Source and license

Source
Promptfoo
Original
promptfoo/promptfoo/examples/config-js
License
MIT