Test
Runs the tests in scripts using promptfoo.
npx genaiscript test "<scripts...>"
You can override which models to use in the tests using --models
:
npx genaiscript test "<scripts...>" --models openai:gpt-4 ollama:phi3
result viewer
Run the test view
command to launch the test result viewer:
npx genaiscript test view