Skip to main content
Run eval files with:
Pass a file or a directory. The CLI picks up *.eval.py and *.eval.ts (plus common JS variants). Set PROMPTLAYER_API_KEY in the environment before you run.

Fail CI on a low score

Set passing_score / passingScore on evaluate(...). If the overall score is below that bar, the process exits non-zero and CI fails.

File layout

Put a top-level evaluate(...) (Python also has aevaluate) in each file. The CLI skips common junk folders such as .git, .venv, and node_modules.