Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Michael f165990574
docs(examples): fix custom-grader-csv README inconsistencies (#4474)
2 months ago
..
f165990574
docs(examples): fix custom-grader-csv README inconsistencies (#4474)
2 months ago
eb47d2d8a8
fix: support javascript files in csv assertions file:// protocol (#2723)
7 months ago
fc4a6bbc7d
docs(examples): update model references from gpt-4o-mini to gpt-4.1-mini (#4289)
2 months ago
eb47d2d8a8
fix: support javascript files in csv assertions file:// protocol (#2723)
7 months ago
eb47d2d8a8
fix: support javascript files in csv assertions file:// protocol (#2723)
7 months ago

README.md

You have to be logged in to leave a comment. Sign In

custom-grader-csv (Custom Grader Csv)

You can run this example with:

npx promptfoo@latest init --example custom-grader-csv

This example uses a custom assertion in customAssertion.ts and reads test cases from tests.csv. The __expected column in tests.csv points to this assertion script.

Run:

promptfoo eval

Full command-line equivalent:

promptfoo eval --prompts prompts.txt --tests tests.csv --providers openai:gpt-4.1-mini --output output.json
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...