Run an eval

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

  1. In your project's folder, run the eval by its ID. The file name divide.eval.ts makes it divide:
    Shell
    npm run eval -- divide
  2. Read the result. You should now see Result: 1/1 passed, with each metric listed under it and a Report: path for the full report.

Try it in a sandbox

  1. Create the project

  2. Go into it

  3. Add the eval from Write an eval

  4. Check it

Try it out

Next steps