Skip to content

Latest commit

 

History

History
 
 

self-grading

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

This example shows how you can have an LLM grade its own output according to predefined expectations.

Identical configurations are provided in promptfooconfig.js and promptfooconfig.yaml.

Run:

promptfoo eval

You can also define the tests in a CSV file:

promptfoo eval --tests tests.csv