- Create a new project with
npx promptfoo@latest init
- Edit the
promptfooconfig.yaml
file, with your desired configuration like providers, prompts, etc. Then run:
npx promptfoo@latest eval
- Optionally, you can view the results by running
npx promptfoo@latest view