Run an eval, which sends each test case to its agent or tool and scores the answers, then read its result. Run it after every change, and before you publish.
Before you start
You need an eval. See Write an eval.
Run an eval
- In your project's folder, run the eval by its ID. The file name
divide.eval.tsmakes itdivide:Shellnpm run eval -- divide - Read the result. You should now see
Result: 1/1 passed, with each metric listed under it and aReport:path for the full report.
Try it in a sandbox
Create the project
Go into it
Add the eval from Write an eval
Check it