0

eval-custom-grading-prompt (Custom Grading Prompt)

You can run this example with:

Example · مثال

Content

eval-custom-grading-prompt (Custom Grading Prompt)

You can run this example with:

npx promptfoo@latest init --example eval-custom-grading-prompt
cd eval-custom-grading-prompt

Usage

To get started, set your OPENAI_API_KEY environment variable.

Next, have a look at the custom prompt in promptfooconfig.yaml.

Then run:

promptfoo eval

Afterwards, you can view the results by running promptfoo view

Source and license

Source
Promptfoo
Original
promptfoo/promptfoo/examples/eval-custom-grading-prompt
License
MIT