Back to Promptfoo

integration-google-sheets (Google Sheets)

examples/integration-google-sheets/README.md

0.121.9505 B
Original Source

integration-google-sheets (Google Sheets)

You can run this example with:

bash
npx promptfoo@latest init --example integration-google-sheets
cd integration-google-sheets

Usage

This example shows how to use an external Google Sheet to run tests. To get started, set your OPENAI_API_KEY environment variable.

Next, duplicate the Google Sheet in promptfooconfig.yaml and replace the URL.

Then run:

bash
promptfoo eval

Afterwards, you can view the results by running promptfoo view