Skip to content

A plug & play framework for generative ai projects to be tested & automated

Notifications You must be signed in to change notification settings

Antonio-Bellifemine/generative-ai-testing

Repository files navigation

Getting Started With Gen Ai Testing


1. 🐋download or start docker desktop🐋
  • Pull any LLM model(s) image(s) you need or would like to test with
2. set your OPENAI_API_KEY 🗝️ environment variable, or other required keys for the providers you selected in a .env file
3. cd into the directory you want to run the tests 📂

Then run:

npx promptfoo eval

Afterwards, you can view the results by running npx promptfoo view